psyplot package
psyplot visualization framework.
Functions:
|
Get the version information for psyplot, the plugins and its requirements |
Data:
Boolean that is True, if psyplot runs inside the graphical user interface by the |
- psyplot.get_versions(requirements=True, key=None)[source]
Get the version information for psyplot, the plugins and its requirements
- Parameters:
requirements (bool) – If True, the requirements of the plugins and psyplot are investigated
key (func) – A function that determines whether a plugin shall be considererd or not. The function must take a single argument, that is the name of the plugin as string, and must return True (import the plugin) or False (skip the plugin). If None, all plugins are imported
- Returns:
A mapping from
'psyplot'
/the plugin names to a dictionary with the'version'
key and the corresponding version is returned. If requirements is True, it also contains a mapping from'requirements'
a dictionary with the versions- Return type:
Examples
Using the built-in JSON module, we get something like
import json print(json.dumps(psyplot.get_versions(), indent=4)) { "psy_simple.plugin": {"version": "1.0.0.dev0"}, "psyplot": { "version": "1.0.0.dev0", "requirements": { "matplotlib": "1.5.3", "numpy": "1.11.3", "pandas": "0.19.2", "xarray": "0.9.1", }, }, "psy_maps.plugin": { "version": "1.0.0.dev0", "requirements": {"cartopy": "0.15.0"}, }, }
- psyplot.with_gui = False
Boolean that is True, if psyplot runs inside the graphical user interface by the
psyplot_gui
module
Subpackages
- psyplot.config package
config_path
logcfg_path
- Submodules
setup_logging()
RcParams
RcParams.HEADER
RcParams.catch()
RcParams.connect()
RcParams.copy()
RcParams.defaultParams
RcParams.descriptions
RcParams.disconnect()
RcParams.dump()
RcParams.find_all()
RcParams.find_and_replace()
RcParams.keys()
RcParams.load_from_file()
RcParams.load_plugins()
RcParams.msg_depr
RcParams.msg_depr_ignore
RcParams.remove()
RcParams.update()
RcParams.update_from_defaultParams()
RcParams.validate
RcParams.values()
SubDict
defaultParams
get_configdir()
psyplot_fname()
rcParams
safe_list()
validate_bool()
validate_bool_maybe_none()
validate_dict()
validate_files_exist()
validate_path_exists()
validate_str()
validate_stringlist()
validate_stringset()
- psyplot.sphinxext package
Submodules
AbsoluteTimeDecoder
AbsoluteTimeEncoder
ArrayList
ArrayList.all_dims
ArrayList.all_names
ArrayList.append()
ArrayList.arr_names
ArrayList.array_info()
ArrayList.arrays
ArrayList.coords
ArrayList.coords_intersect
ArrayList.copy()
ArrayList.dims
ArrayList.dims_intersect
ArrayList.draw()
ArrayList.extend()
ArrayList.from_dataset()
ArrayList.from_dict()
ArrayList.is_unstructured
ArrayList.logger
ArrayList.names
ArrayList.next_available_name()
ArrayList.no_auto_update
ArrayList.remove()
ArrayList.rename()
ArrayList.start_update()
ArrayList.update()
ArrayList.with_plotter
CFDecoder
CFDecoder.can_decode()
CFDecoder.clear_cache()
CFDecoder.correct_dims()
CFDecoder.decode_coords()
CFDecoder.decode_ds()
CFDecoder.get_cell_node_coord()
CFDecoder.get_coord_idims()
CFDecoder.get_coord_info()
CFDecoder.get_decoder()
CFDecoder.get_grid_type_info()
CFDecoder.get_idims()
CFDecoder.get_metadata_for_section()
CFDecoder.get_metadata_for_variable()
CFDecoder.get_metadata_sections()
CFDecoder.get_plotbounds()
CFDecoder.get_projection_info()
CFDecoder.get_t()
CFDecoder.get_t_metadata()
CFDecoder.get_tname()
CFDecoder.get_triangles()
CFDecoder.get_variable_by_axis()
CFDecoder.get_x()
CFDecoder.get_x_metadata()
CFDecoder.get_xname()
CFDecoder.get_y()
CFDecoder.get_y_metadata()
CFDecoder.get_yname()
CFDecoder.get_z()
CFDecoder.get_z_metadata()
CFDecoder.get_zname()
CFDecoder.is_circumpolar()
CFDecoder.is_unstructured()
CFDecoder.logger
CFDecoder.register_decoder()
CFDecoder.standardize_dims()
CFDecoder.supports_spatial_slicing
DatasetAccessor
InteractiveArray
InteractiveArray.base
InteractiveArray.base_variables
InteractiveArray.copy()
InteractiveArray.decoder
InteractiveArray.fldmean()
InteractiveArray.fldpctl()
InteractiveArray.fldstd()
InteractiveArray.get_coord()
InteractiveArray.get_dim()
InteractiveArray.gridweights()
InteractiveArray.idims
InteractiveArray.init_accessor()
InteractiveArray.isel()
InteractiveArray.iter_base_variables
InteractiveArray.logger
InteractiveArray.onbasechange
InteractiveArray.sel()
InteractiveArray.shiftlon()
InteractiveArray.start_update()
InteractiveArray.to_interactive_list()
InteractiveArray.update()
InteractiveBase
InteractiveList
Signal
UGridDecoder
decode_absolute_time()
encode_absolute_time()
get_filename_ds()
get_fname_funcs
get_index_from_coord()
get_tdata()
open_dataset()
open_mfdataset()
setup_coords()
t_patterns
to_netcdf()
to_slice()
PsyplotDocstringProcessor
append_original_doc()
dedent()
docstrings
indent()
GdalStore
BEFOREPLOTTING
DictFormatoption
END
Formatoption
Formatoption.any_decoder
Formatoption.ax
Formatoption.changed
Formatoption.check_and_set()
Formatoption.children
Formatoption.connections
Formatoption.convert_coordinate()
Formatoption.data
Formatoption.data_dependent
Formatoption.decoder
Formatoption.default
Formatoption.default_key
Formatoption.dependencies
Formatoption.diff()
Formatoption.finish_update()
Formatoption.get_decoder()
Formatoption.get_fmt_widget()
Formatoption.group
Formatoption.groupname
Formatoption.index_in_list
Formatoption.init_kwargs
Formatoption.initialize_plot()
Formatoption.iter_data
Formatoption.iter_raw_data
Formatoption.key
Formatoption.lock
Formatoption.logger
Formatoption.name
Formatoption.parents
Formatoption.plot_fmt
Formatoption.plotter
Formatoption.priority
Formatoption.project
Formatoption.raw_data
Formatoption.remove()
Formatoption.requires_clearing
Formatoption.requires_replot
Formatoption.set_data()
Formatoption.set_decoder()
Formatoption.set_value()
Formatoption.share()
Formatoption.shared
Formatoption.shared_by
Formatoption.update()
Formatoption.update_after_plot
Formatoption.validate
Formatoption.value
Formatoption.value2pickle
Formatoption.value2share
FormatoptionMeta
Plotter
Plotter.ax
Plotter.base_variables
Plotter.changed
Plotter.check_data()
Plotter.check_key()
Plotter.convert_coordinate()
Plotter.data
Plotter.draw()
Plotter.enable_post
Plotter.figs2draw
Plotter.fmt_groups
Plotter.get_enhanced_attrs()
Plotter.get_vfunc()
Plotter.groups
Plotter.has_changed()
Plotter.include_links
Plotter.initialize_plot()
Plotter.iter_base_variables
Plotter.logger
Plotter.make_plot()
Plotter.no_auto_update
Plotter.no_validation
Plotter.plot_data
Plotter.plot_data_decoder
Plotter.post
Plotter.post_timing
Plotter.project
Plotter.rc
Plotter.reinit()
Plotter.share()
Plotter.show()
Plotter.show_docs()
Plotter.show_keys()
Plotter.show_summaries()
Plotter.start_update()
Plotter.unshare()
Plotter.unshare_me()
Plotter.update()
PostProcDependencies
PostProcessing
PostTiming
START
default_print_func()
format_time()
groups
is_data_dependent()
DataArrayPlotter
DataArrayPlotterInterface
DatasetPlotter
DatasetPlotterInterface
PROJECT_CLS
PlotterInterface
Project
Project.append()
Project.arr_names
Project.axes
Project.barplot
Project.block_signals
Project.close()
Project.combined
Project.datasets
Project.density
Project.disable()
Project.docs()
Project.dsnames
Project.dsnames_map
Project.enable()
Project.export()
Project.extend()
Project.extract_fmts_from_preset()
Project.figs
Project.fldmean
Project.format_string()
Project.from_dataset()
Project.is_cmp
Project.is_csp
Project.is_main
Project.joined_attrs()
Project.keys()
Project.lineplot
Project.load_preset()
Project.load_project()
Project.logger
Project.main
Project.mapcombined
Project.mapplot
Project.maps
Project.mapvector
Project.new()
Project.oncpchange
Project.plot
Project.plot2d
Project.plotters
Project.save_preset()
Project.save_project()
Project.scp()
Project.share()
Project.show()
Project.simple
Project.summaries()
Project.unshare()
Project.vector
Project.violinplot
Project.with_plotter
ProjectPlotter
ProjectPlotter.barplot
ProjectPlotter.combined
ProjectPlotter.density
ProjectPlotter.fldmean
ProjectPlotter.lineplot
ProjectPlotter.mapcombined
ProjectPlotter.mapplot
ProjectPlotter.mapvector
ProjectPlotter.plot2d
ProjectPlotter.project
ProjectPlotter.show_plot_methods()
ProjectPlotter.vector
ProjectPlotter.violinplot
close()
gcp()
get_project_nums()
multiple_subplots()
plot
project()
register_plotter()
scp()
unregister_plotter()
Defaultdict
check_key()
get_default_value()
hashable()
is_iterable()
is_remote_url()
isstring()
join_dicts()
plugin_entrypoints()
sort_kwargs()
unique_everseen()
PsyPlotCritical
PsyPlotRuntimeWarning
PsyPlotWarning
critical()
customwarn()
disable_warnings()
warn()