plotly.graph_objs.layout.smith Module

Functions

plotly.graph_objs.layout.smith.Domain([column=], [row=], [x=], [y=]) → Domain

Create a new ‘Domain’ object

  • column - If there is a layout grid, use the domain for this column in the grid for this smith subplot .

  • row - If there is a layout grid, use the domain for this row in the grid for this smith subplot .

  • x - Sets the horizontal domain of this smith subplot (in plot fraction).

  • y - Sets the vertical domain of this smith subplot (in plot fraction).


plotly.graph_objs.layout.smith.Imaginaryaxis([color=], [gridcolor=], [griddash=], [gridwidth=], [hoverformat=], [layer=], [linecolor=], [linewidth=], [showgrid=], [showline=], [showticklabels=], [showtickprefix=], [showticksuffix=], [tickcolor=], [tickfont=], [tickformat=], [ticklen=], [tickprefix=], [ticks=], [ticksuffix=], [tickvals=], [tickvalssrc=], [tickwidth=], [visible=]) → Imaginaryaxis

Create a new ‘Imaginaryaxis’ object

  • color - Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.

  • gridcolor - Sets the color of the grid lines.

  • griddash - Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).

  • gridwidth - Sets the width (in px) of the grid lines.

  • hoverformat - Sets the hover text formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: *%h* for half of the year as a decimal number as well as *%{n}f* for fractional seconds with n digits. For example, *2016-10-13 09:15:23.456* with tickformat *%H~%M~%S.%2f* would display *09~15~23.46*

  • layer - Sets the layer on which this axis is displayed. If *above traces*, this axis is displayed above all the subplot's traces If *below traces*, this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `cliponaxis` set to *false* to show markers and/or text nodes above this axis.

  • linecolor - Sets the axis line color.

  • linewidth - Sets the width (in px) of the axis line.

  • showgrid - Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark.

  • showline - Determines whether or not a line bounding this axis is drawn.

  • showticklabels - Determines whether or not the tick labels are drawn.

  • showtickprefix - If *all*, all tick labels are displayed with a prefix. If *first*, only the first tick is displayed with a prefix. If *last*, only the last tick is displayed with a suffix. If *none*, tick prefixes are hidden.

  • showticksuffix - Same as `showtickprefix` but for tick suffixes.

  • tickcolor - Sets the tick color.

  • tickfont - Sets the tick font.

  • tickformat - Sets the tick label formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: *%h* for half of the year as a decimal number as well as *%{n}f* for fractional seconds with n digits. For example, *2016-10-13 09:15:23.456* with tickformat *%H~%M~%S.%2f* would display *09~15~23.46*

  • ticklen - Sets the tick length (in px).

  • tickprefix - Sets a tick label prefix.

  • ticks - Determines whether ticks are drawn or not. If **, this axis' ticks are not drawn. If *outside* (*inside*), this axis' are drawn outside (inside) the axis lines.

  • ticksuffix - Sets a tick label suffix.

  • tickvals - Sets the values at which ticks on this axis appear. Defaults to `realaxis.tickvals` plus the same as negatives and zero.

  • tickvalssrc - Sets the source reference on Chart Studio Cloud for `tickvals`.

  • tickwidth - Sets the tick width (in px).

  • visible - A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false


plotly.graph_objs.layout.smith.Realaxis([color=], [gridcolor=], [griddash=], [gridwidth=], [hoverformat=], [layer=], [linecolor=], [linewidth=], [showgrid=], [showline=], [showticklabels=], [showtickprefix=], [showticksuffix=], [side=], [tickangle=], [tickcolor=], [tickfont=], [tickformat=], [ticklen=], [tickprefix=], [ticks=], [ticksuffix=], [tickvals=], [tickvalssrc=], [tickwidth=], [visible=]) → Realaxis

Create a new ‘Realaxis’ object

  • color - Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this.

  • gridcolor - Sets the color of the grid lines.

  • griddash - Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).

  • gridwidth - Sets the width (in px) of the grid lines.

  • hoverformat - Sets the hover text formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: *%h* for half of the year as a decimal number as well as *%{n}f* for fractional seconds with n digits. For example, *2016-10-13 09:15:23.456* with tickformat *%H~%M~%S.%2f* would display *09~15~23.46*

  • layer - Sets the layer on which this axis is displayed. If *above traces*, this axis is displayed above all the subplot's traces If *below traces*, this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `cliponaxis` set to *false* to show markers and/or text nodes above this axis.

  • linecolor - Sets the axis line color.

  • linewidth - Sets the width (in px) of the axis line.

  • showgrid - Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark.

  • showline - Determines whether or not a line bounding this axis is drawn.

  • showticklabels - Determines whether or not the tick labels are drawn.

  • showtickprefix - If *all*, all tick labels are displayed with a prefix. If *first*, only the first tick is displayed with a prefix. If *last*, only the last tick is displayed with a suffix. If *none*, tick prefixes are hidden.

  • showticksuffix - Same as `showtickprefix` but for tick suffixes.

  • side - Determines on which side of real axis line the tick and tick labels appear.

  • tickangle - Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.

  • tickcolor - Sets the tick color.

  • tickfont - Sets the tick font.

  • tickformat - Sets the tick label formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: *%h* for half of the year as a decimal number as well as *%{n}f* for fractional seconds with n digits. For example, *2016-10-13 09:15:23.456* with tickformat *%H~%M~%S.%2f* would display *09~15~23.46*

  • ticklen - Sets the tick length (in px).

  • tickprefix - Sets a tick label prefix.

  • ticks - Determines whether ticks are drawn or not. If **, this axis' ticks are not drawn. If *top* (*bottom*), this axis' are drawn above (below) the axis line.

  • ticksuffix - Sets a tick label suffix.

  • tickvals - Sets the values at which ticks on this axis appear.

  • tickvalssrc - Sets the source reference on Chart Studio Cloud for `tickvals`.

  • tickwidth - Sets the tick width (in px).

  • visible - A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false


Globals




Do you still have questions?

Our Community Forum is full of helpful information and Anvil experts.


plotly.graph_objs.layout.smith