lstein.lstein.LSteinPanel.plot

LSteinPanel.plot(x: ndarray, y: ndarray, seriestype: Literal['line', 'scatter'] = 'line', **kwargs)[source]

attaches a dataseries to plot to the panel

  • method to add a series to the panel for plotting

Parameters
  • x
    • np.ndarray

    • x-values of the series

    • has to have same length as y

  • y
    • np.ndarray

    • y-values of the series

    • has to have same length as x

  • seriestpye
    • Literal[“line”,”scatter”], optional

    • which style to use for plotting the series

      “line” – line plot “scatter” – scatter plot

    • the default is “line”

-**kwargs
  • kwargs to pass to ax.plot()

Raises

Returns