Make B/W SVG charts with matplotlib

note, Aug 1, 2023 on Mitja Felicijan's blog

Install pip requirements.

pip install matplotlib
@@ -44,21 +44,18 @@ This is how you get a column data with pandas.

The Python code responsible for # Export as SVG plt.savefig("plot.svg", format="svg") -

SVG Chart

The image above is SVG and you can zoom in and out and check that the image is vector.