chemparseplot.plot.structs

Module Contents

Classes

BasePlotter

Thin wrapper around a matplotlib figure and axes with defaults.

TwoDimPlot

Interactive 2D plotter with unit-aware axes and spline interpolation.

Data

EnergyPath

Named tuple holding a labeled energy path (label, distance, energy).

XYData

Named tuple holding generic labeled XY data (label, x, y).

API

chemparseplot.plot.structs.EnergyPath

‘namedtuple(…)’

Named tuple holding a labeled energy path (label, distance, energy).

Added in version 0.0.3.

chemparseplot.plot.structs.XYData

‘namedtuple(…)’

Named tuple holding generic labeled XY data (label, x, y).

Added in version 0.0.3.

class chemparseplot.plot.structs.BasePlotter(figsize=(3.2, 2.5), dpi=200, pad=0.2, colormap=cm.batlow, style='bmh')

Thin wrapper around a matplotlib figure and axes with defaults.

Added in version 0.0.3.

Initialization

add_title(title='')
class chemparseplot.plot.structs.TwoDimPlot(*args, **kwargs)

Bases: chemparseplot.plot.structs.BasePlotter

Interactive 2D plotter with unit-aware axes and spline interpolation.

Added in version 0.0.3.

Initialization

set_labels(x_label, y_label)
set_units(x_unit, y_unit)
update_labels()
redraw_plot()
add_data(xy_data)
rmdat(labels_to_remove)
__repr__()