Published April 13, 2018
| Version v1.1.0
Software
Open
Chilipp/psyplot: v1.1.0: New xarray DataArray and Dataset accessors
Description
v1.1.0
This new release mainly adds new xarray accossors (psy
) for DataArrays and Datasets. Additionally we provide methods to calculate the spatially weighted mean, such as fldmean, fldstd and fldpctl.
Added
- The yaxis_inverted and xaxis_inverted is now considered when loading and saving a matplotlib axes
- Added the
seaborn-style
command line argument - Added the
concat_dim
command line argument - Added the plot attribute to the DataArray and Dataset accessors. It is now possible to plot directly from the dataset and the data array
- Added
requires_replot
attribute for theFormatoption
class. If this attribute is True and the formatoption is contained in an update, it is the same as callingPlotter.update(replot=True))
. - We added support for multifile datasets when saving a project. Multifile datasets are datasets that have been opened with, e.g.
psyplot.data.open_mfdataset
orpsyplot.project.plot.<plotmethod>(..., mfmode=True)
. This however does not always work with datasets opened withxarray.open_mfdataset
. In these cases, you have to set theDataset.psy._concat_dim
attribute manually - Added the
chname
parameter when loading a project. This parameter can be used to display another variable from the dataset than the one stored in the psyplot project file - Added the
gridweights
,fldmean
,fldstd
andfldpctl
methods to thepsy
DataArray accessor to calculate weighted means, standard deviations and percentiles over the spatial dimensions (x- and y). - Added the
additional_children
andadditional_dependencies
parameters to the Formatoption intialization. These parameters can be used to provide additional children for a formatoption for one plotter class - We added the
psyplot.plotter.Formatoption.get_fmt_widget
method which can be implemented to insert widgets in the formatoptions widget of the graphical user interface
Files
Chilipp/psyplot-v1.1.0.zip
Files
(15.5 MB)
Name | Size | Download all |
---|---|---|
md5:dfb78ad1c635847d37e50356ea5d7e7c
|
15.5 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/Chilipp/psyplot/tree/v1.1.0 (URL)