pyprobe.plot module#

A module to contain plotting functions for PyProBE.

seaborn = <pyprobe.plot.SeabornWrapper object>#

A wrapped version of the seaborn package.

Requires the seaborn package to be installed as an optional dependency. You can install it with PyProBE by running pip install 'PyProBE-Data[seaborn]', or install it seperately with pip install seaborn.

This version of seaborn is modified to work with PyProBE Result objects. All functions from the original seaborn package are available in this version. Where seaborn functions accept a ‘data’ argument, a PyProBE Result object can be passed instead of a pandas DataFrame. For example:

from pyprobe.plot import seaborn as sns

result = cell.procedure['Sample']
sns.lineplot(data=result, x="x", y="y")
Other modifications include:
  • The ‘estimator’ argument is set to None by default in the lineplot function for

performance. This can be overridden by passing an estimator explicitly.

See the seaborn documentation for more information: https://seaborn.pydata.org/