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.default_style

classmethod PlotStyle.default_style()[source]

The default style across Qiskit Experiments.

The following is a description of the default style parameters are what they are used for.

Style Parameters:
  • figsize (Tuple[int,int]) – The size of the figure (width, height), in inches.

  • legend_loc (Optional[str]) – The location of the legend in axis coordinates. If None, location is automatically determined by the drawer.

  • tick_label_size (int) – The font size for tick labels.

  • axis_label_size (int) – The font size for axis labels.

  • symbol_size (float) – The size of symbols for points/markers, proportional to the area of the drawn graphic.

  • errorbar_capsize (float) – The size of end-caps for error-bars.

  • textbox_rel_pos (Tuple[float,float]) – The relative position (horizontal, vertical) of textboxes, as a percentage of the canvas dimensions.

  • textbox_text_size (int) – The font size for textboxes.

Return type:

PlotStyle

Returns:

The default plot style used by Qiskit Experiments.