Getting Started¶
Installation¶
Install cplots with your preferred backend:
Available extras: matplotlib, plotly, altair, getdist.
Your first plot¶
Switching backends¶
Saving a figure¶
plot.save("figure.png") # PNG via matplotlib
plot.save("figure.html", backend="plotly") # interactive HTML
Applying a theme¶
Built-in themes: cplots.PUBLICATION (serif, white background) and cplots.DARK (transparent, neon palette).
Multi-panel figures¶
See Multi-panel Figures for full documentation.