BioSimSpace.Notebook.plot

BioSimSpace.Notebook.plot(x=None, y=None, xerr=None, yerr=None, xlabel=None, ylabel=None, logx=False, logy=False)[source]

A simple function to create x/y plots with matplotlib.

Parameters:
  • x (list) – A list of x data values.

  • y (list) – A list of y data values.

  • xerr (list) – A list of error values for the x data.

  • yerr (list) – A list of error values for the y data.

  • xlabel (str) – The x axis label string.

  • ylabel (str) – The y axis label string.

  • logx (bool) – Whether the x axis is logarithmic.

  • logy (bool) – Whether the y axis is logarithmic.