This app is an effort to share a simple web publishing system, enabled by Streamlit, which can display both text based and interactive code-based posts , which could be used for blogging, documentation etc…
Posts can be written in .md or .py files, including front matter to display a title, date, tags and contributing authors. Save your posts in a folder and then the app takes care of arranging and displaying all posts.
It’s a basic alternative to something like Jekyll + GitHub pages, with the interactive capabilities made possible by Streamlit.
Setting this up for your own project is easy. All code is within streamlit_app.py, and instructions shown on the app.
Hi - I had a need for this kind of thing recently and remembered I had bookmarked it a long time ago. I have it running and love it. Thanks!
The code in your gradient descent article (the last set of plots) needs to be fixed to work with the latest MPL library. Here’s the fix proposed by ChatGPT:
Summary
The error is due to the method gca() in Matplotlib’s Figure object. In recent versions of Matplotlib, gca() no longer accepts the projection='3d' keyword argument when invoked on a Figure instance directly. Instead, gca() is used for getting the current axes, and projection='3d' is only valid when creating a new 3D subplot using the add_subplot() or plt.subplot() methods.
To fix this issue, you should use add_subplot() with projection='3d' instead of gca():
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.