ClimateMARGO / ClimateMARGO.jl

Julia implementation of MARGO, an idealized climate-economic modelling framework for Optimizing trade-offs between emissions Mitigation, Adaptation, carbon dioxide Removal, and solar Geoengineering.
https://margo.plutojl.org/
MIT License
67 stars 13 forks source link

Replace PyPlot with Plots to remove unnecessary Python dep #84

Open hdrake opened 2 years ago

hdrake commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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