Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

PlotStyle.merge

classmethod PlotStyle.merge(style1, style2)[source]

Merge style2 into style1 as a new PlotStyle instance.

This method merges an additional style style2 into a base instance style1, returning the merged style instance instead of modifying the inputs.

Parameters:
  • style1 (PlotStyle) – Base PlotStyle instance.

  • style2 (PlotStyle) – Additional PlotStyle instance.

Return type:

PlotStyle

Returns:

Merged style instance.