ニュース

matplotlibには「pyplotインターフェース」と「Axesインターフェース」があるのがややこしいところです。しかもAxesインターフェースで書くときも結局matolotlib.pyplotはImportしてあげる必要があります。ここではpyplotインターフェースのほうについてのみの関数を ...
Python で関数を定義すること、引き続いてグラフの作り方を学びましょう。関数とグラフはプログラミングの技術で言うとなかなかそこそこのレベルだと思いますが、中学数学・高校数学の定番ですから中学生・高校生には案外扱いやすいのではないかという ...
# If applicable, paste the console output here ----- ImportError Traceback (most recent call last) <ipython-input-1-f09a4c6b4388> in <module>() 1 import numpy as np ...
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, ...
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 ...