psyplot.project.plot.barplot

plot.barplot(*args, **kwargs)

Make a bar plot of one-dimensional data

This plotting method adds data arrays and plots them via psy_simple.plotters.BarPlotter plotters

To plot data from a netCDF file type:

>>> psy.plot.barplot(filename, name=['my_variable'], ...)

Examples

To explore the formatoptions and their documentations, use the keys, summaries and docs methods. For example:

>>> import psyplot.project as psy

# show the keys corresponding to a group or multiple
# formatopions
>>> psy.plot.barplot.keys('labels')

# show the summaries of a group of formatoptions or of a
# formatoption
>>> psy.plot.barplot.summaries('title')

# show the full documentation
>>> psy.plot.barplot.docs('plot')

# or access the documentation via the attribute
>>> psy.plot.barplot.plot