matplotlibには「pyplotインターフェース」と「Axesインターフェース」があるのがややこしいところです。しかもAxesインターフェースで書くときも結局matolotlib.pyplotはImportしてあげる必要があります。ここではpyplotインターフェースのほうについてのみの関数を ...
Python で関数を定義すること、引き続いてグラフの作り方を学びましょう。関数とグラフはプログラミングの技術で言うとなかなかそこそこのレベルだと思いますが、中学数学・高校数学の定番ですから中学生・高校生には案外扱いやすいのではないかという ...
If function returns matplotlib.pyplot.Figure object, it cannot be cached with st.cache. While caching the return value of mk_figure(), Streamlit encountered an object of type matplotlib.spines.Spines, ...
I tried creating a line chart using the data from a Dataframe. I load the Dataframe using a CSV file. While doing so I found something strange that the line chart has some data points which are not ...
It can be nice to add atomic images directly to a figure made in pyplot (i.e., matplotlib). This is pretty simple to do using the tools of ASE. Here we just show a very simple example of plotting a ...