LinkedEarth / Pyleoclim_util

Python Package for the Analysis of Paleoclimate Data. Documentation at
https://pyleoclim-util.readthedocs.io
GNU General Public License v3.0
87 stars 33 forks source link

MulEnsGeoSeries stackplot #599

Closed alexkjames closed 2 months ago

alexkjames commented 2 months ago

Adds stackplot functionality to MulEnsGeoSeries class, alongside unit tests. Addresses #579

CommonClimate commented 2 months ago

I like the new style feature. Can you make sure users can pass ensemble plot options as they would to EnsembleSeries.plot()? In particular, some users will want to adjust shade_alpha for plot_envelope() and num_traces for plot_traces()

alexkjames commented 2 months ago

I like the new style feature. Can you make sure users can pass ensemble plot options as they would to EnsembleSeries.plot()? In particular, some users will want to adjust shade_alpha for plot_envelope() and num_traces for plot_traces()

These are currently adjustable via the plot_kwargs option. I'm a bit hesitant to include exposed arguments for the plotting methods, since there usage will depend on what style is set to. I've include a docstring example of using the plot_kwargs argument to make these adjustments. Will that suffice? Or would you still like certain arguments to be exposed?