Franklin + PyPlot

Using Franklin with PyPlot is pretty straightforward but it's always nice to have a few examples especially for the paths.

NOTE: if you have lots of plots on a page, it may happen that you see a warning like:

RuntimeWarning: More than 20 figures have been opened. Figures created through
the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly
closed and may consume too much memory. (To control this warning, see the
rcParam `figure.max_open_warning`).

In such a case, consider killing the server, calling using PyPlot; PyPlot.close_figs() and restarting the server (you don't need to do this, but it will make the error go away and possibly avoid slowdown.).

Examples

Sincs

Koch

Original script

Scatterplot + histogram

Original file

CC BY-SA 4.0 The Oracle. Last modified: September 13, 2023. Website built with Franklin.jl and the Julia programming language.