ploteries.figure_handler.helpers

Functions

plotyy(data_store, name, primary_traces, ...)

Creates a figure with a primary and secondary y axis

ploteries.figure_handler.helpers.plotyy(data_store: DataStore, name: str, primary_traces: List[dict], secondary_traces: List[dict], default_trace_kwargs={}, layout_kwargs={}, connection=None, write=True)

Creates a figure with a primary and secondary y axis

Parameters:
  • data_store – Data store where the figure will be written.

  • name – Figure name in the data store.

  • secondary_traces (primary_traces,) – The traces for the primary and secondary axes.

  • connection (default_trace_kwargs, layout_kwargs,) – These parameters will be passed on to from_traces()