ClimateMARGO.jl icon indicating copy to clipboard operation
ClimateMARGO.jl copied to clipboard

Replace PyPlot with Plots to remove unnecessary Python dep

Open hdrake opened this issue 3 years ago • 3 comments

hdrake avatar Feb 05 '22 16:02 hdrake

Still need to re-implement the default_configuration.jl and one-two_dimensional_optimization.jl examples and probably purge PyPlot calls in other places in the source code.

hdrake avatar Feb 05 '22 16:02 hdrake

I've gotten the figures with Plots.jl to look fairly similar to the PyPlot ones published in the ClimateMARGO paper, but their quality is still somewhat limited by Plots.jl capabilities (e.g. unclear why the lines in the legend are so long, or how to fix that).

download-1

hdrake avatar Feb 05 '22 16:02 hdrake

@fonsp, I think I've now removed all traces of Python, PyCall, and PyPlot from the entire package!

hdrake avatar Feb 05 '22 21:02 hdrake