The meshplot module

class pylife.mesh.meshplot.PlotmeshAccessor(pandas_obj)[source]

Plot a value on a 2d mesh

The accessed DataFrame must be accessible by meshsignal.MeshAccessor.

plot(axis, value_key, **kwargs)[source]

Plot the accessed dataframe

Parameters:
  • ax (matplotlib.pyplot.axis) – The axis to plot on
  • value_key (str) – The column name in the accessed DataFrame
  • **kwargs – Arguments passed to the matplotlib.collections.PatchCollection, like for example cmap