Rewrite plotting functions and include introduction notebook#101
Merged
Rewrite plotting functions and include introduction notebook#101
Conversation
5f8f41d to
e3f154b
Compare
e3f154b to
8c05c80
Compare
PatricioFarrell
approved these changes
Jan 14, 2026
Member
Author
|
Ok, I'll remove the |
This was referenced Mar 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a major rewrite of the plotting functions defined in
ct_plotting.jl.@mariekeosw and I changed the following things (cf. CHANGELOG entry):
ct_plottingare now changed to use aGridVisualizerBefore, we had a hard dependency on
PyPlotwhich caused spurious problems on some systems. Now a Plotter of choice can be used viaGridVisualize.jl.Otherwise the version would be breaking. However, the user needs to add
PyPlotofPythonPlotto their global enviroment to use the old function.GridVisualize(currentlyPythonPlot,Makieflavors andPlutoVista)PyPlotandPlotsare also supported, but not recommendedplottingkey word is removed. No plotting is indicated byPlotter = nothingPy[thon]Plot, but the users have to provide this package in their own (global) environmentThe 2D examples make heavy use of
Matplotlibfeatures and this should be kept as is.This change allows also to generate composed images in the examples instead of generating a single image for each plot.
TODOs:
activateline in the notebookPlutoVistaas Plotter in the notebook, this is currently broken by a weird JS problem: Plotly.js somehow breaks LaTeX rendering JuliaPluto/Pluto.jl#3439Makiebackends (used in doping plots) works, but displays poor ticks:pseudolog10doesn't give nice ticks MakieOrg/Makie.jl#1319PlutoVistadoes not supportsymlogscaling so far