pymor.discretizers.builtin.gui.matplotlib_base

Visualization of grid data using matplotlib.

This module provides widgets for displaying plots of scalar data assigned to one- and two-dimensional grids using matplotlib. These widgets are not intended to be used directly.

Module Contents

class pymor.discretizers.builtin.gui.matplotlib_base.Matplotlib1DAxes(U, figure, grid, vmin=None, vmax=None, codim=1, separate_axes=False, sync_timer=None, columns=2, bounding_box=None)[source]

Bases: MatplotlibAxesBase

Methods

animate

Load new data into existing plot objects.

set

Load new data into existing plot objects.

animate(u)[source]

Load new data into existing plot objects.

set(U, vmin=None, vmax=None)[source]

Load new data into existing plot objects.

class pymor.discretizers.builtin.gui.matplotlib_base.MatplotlibAxesBase(figure, sync_timer, grid, U=None, vmin=None, vmax=None, codim=2, separate_axes=False, columns=2, aspect_ratio=1)[source]

Methods

animate

Load new data into existing plot objects.

set

Load new data into existing plot objects.

abstract animate(u)[source]

Load new data into existing plot objects.

abstract set(U)[source]

Load new data into existing plot objects.

class pymor.discretizers.builtin.gui.matplotlib_base.MatplotlibPatchAxes(figure, grid, bounding_box=None, U=None, vmin=None, vmax=None, codim=2, columns=2, colorbar=True, sync_timer=None)[source]

Bases: MatplotlibAxesBase

Methods

set

Load new data into existing plot objects.

set(U, vmin=None, vmax=None)[source]

Load new data into existing plot objects.