Python Figure Reference: layout.smith

  • smith
    Code: fig.update_smiths(...)
    Type: dict containing one or more of the keys listed below.
    • bgcolor
      Code: fig.update_smiths(bgcolor=<VALUE>)
      Type: color
      Default: "#fff"

      Set the background color of the subplot

    • domain
      Code: fig.update_smiths(domain=dict(...))
      Type: dict containing one or more of the keys listed below.
      • column
        Code: fig.update_smiths(domain_column=<VALUE>)
        Type: integer greater than or equal to 0
        Default: 0

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

      • row
        Code: fig.update_smiths(domain_row=<VALUE>)
        Type: integer greater than or equal to 0
        Default: 0

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

      • x
        Code: fig.update_smiths(domain_x=list(...))
        Type: list
        Default: [0, 1]

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

      • y
        Code: fig.update_smiths(domain_y=list(...))
        Type: list
        Default: [0, 1]

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

    • imaginaryaxis
      Code: fig.update_smiths(imaginaryaxis=dict(...))
      Type: dict containing one or more of the keys listed below.
      • color
        Code: fig.update_smiths(imaginaryaxis_color=<VALUE>)
        Type: color
        Default: "#444"

        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
        Code: fig.update_smiths(imaginaryaxis_gridcolor=<VALUE>)
        Type: color
        Default: "#eee"

        Sets the color of the grid lines.

      • gridwidth
        Code: fig.update_smiths(imaginaryaxis_gridwidth=<VALUE>)
        Type: number greater than or equal to 0
        Default: 1

        Sets the width (in px) of the grid lines.

      • hoverformat
        Code: fig.update_smiths(imaginaryaxis_hoverformat=<VALUE>)
        Type: string
        Default: ""

        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
        Code: fig.update_smiths(imaginaryaxis_layer=<VALUE>)
        Type: enumerated , one of ( "above traces" | "below traces" )
        Default: "above traces"

        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
        Code: fig.update_smiths(imaginaryaxis_linecolor=<VALUE>)
        Type: color
        Default: "#444"

        Sets the axis line color.

      • linewidth
        Code: fig.update_smiths(imaginaryaxis_linewidth=<VALUE>)
        Type: number greater than or equal to 0
        Default: 1

        Sets the width (in px) of the axis line.

      • showgrid
        Code: fig.update_smiths(imaginaryaxis_showgrid=<VALUE>)
        Type: boolean
        Default: True

        Determines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.

      • showline
        Code: fig.update_smiths(imaginaryaxis_showline=<VALUE>)
        Type: boolean
        Default: True

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

      • showticklabels
        Code: fig.update_smiths(imaginaryaxis_showticklabels=<VALUE>)
        Type: boolean
        Default: True

        Determines whether or not the tick labels are drawn.

      • showtickprefix
        Code: fig.update_smiths(imaginaryaxis_showtickprefix=<VALUE>)
        Type: enumerated , one of ( "all" | "first" | "last" | "none" )
        Default: "all"

        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
        Code: fig.update_smiths(imaginaryaxis_showticksuffix=<VALUE>)
        Type: enumerated , one of ( "all" | "first" | "last" | "none" )
        Default: "all"

        Same as `showtickprefix` but for tick suffixes.

      • tickcolor
        Code: fig.update_smiths(imaginaryaxis_tickcolor=<VALUE>)
        Type: color
        Default: "#444"

        Sets the tick color.

      • tickfont
        Code: fig.update_smiths(imaginaryaxis_tickfont=dict(...))
        Type: dict containing one or more of the keys listed below.

        Sets the tick font.

        • color
          Code: fig.update_smiths(imaginaryaxis_tickfont_color=<VALUE>)
          Type: color
        • family
          Code: fig.update_smiths(imaginaryaxis_tickfont_family=<VALUE>)
          Type: string

          HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans",, "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".

        • size
          Code: fig.update_smiths(imaginaryaxis_tickfont_size=<VALUE>)
          Type: number greater than or equal to 1
      • tickformat
        Code: fig.update_smiths(imaginaryaxis_tickformat=<VALUE>)
        Type: string
        Default: ""

        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
        Code: fig.update_smiths(imaginaryaxis_ticklen=<VALUE>)
        Type: number greater than or equal to 0
        Default: 5

        Sets the tick length (in px).

      • tickprefix
        Code: fig.update_smiths(imaginaryaxis_tickprefix=<VALUE>)
        Type: string
        Default: ""

        Sets a tick label prefix.

      • ticks
        Code: fig.update_smiths(imaginaryaxis_ticks=<VALUE>)
        Type: enumerated , one of ( "outside" | "inside" | "" )

        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
        Code: fig.update_smiths(imaginaryaxis_ticksuffix=<VALUE>)
        Type: string
        Default: ""

        Sets a tick label suffix.

      • tickvals
        Code: fig.update_smiths(imaginaryaxis_tickvals=<VALUE>)
        Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.

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

      • tickwidth
        Code: fig.update_smiths(imaginaryaxis_tickwidth=<VALUE>)
        Type: number greater than or equal to 0
        Default: 2

        Sets the tick width (in px).

      • visible
        Code: fig.update_smiths(imaginaryaxis_visible=<VALUE>)
        Type: boolean
        Default: True

        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

    • realaxis
      Code: fig.update_smiths(realaxis=dict(...))
      Type: dict containing one or more of the keys listed below.
      • color
        Code: fig.update_smiths(realaxis_color=<VALUE>)
        Type: color
        Default: "#444"

        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
        Code: fig.update_smiths(realaxis_gridcolor=<VALUE>)
        Type: color
        Default: "#eee"

        Sets the color of the grid lines.

      • gridwidth
        Code: fig.update_smiths(realaxis_gridwidth=<VALUE>)
        Type: number greater than or equal to 0
        Default: 1

        Sets the width (in px) of the grid lines.

      • hoverformat
        Code: fig.update_smiths(realaxis_hoverformat=<VALUE>)
        Type: string
        Default: ""

        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
        Code: fig.update_smiths(realaxis_layer=<VALUE>)
        Type: enumerated , one of ( "above traces" | "below traces" )
        Default: "above traces"

        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
        Code: fig.update_smiths(realaxis_linecolor=<VALUE>)
        Type: color
        Default: "#444"

        Sets the axis line color.

      • linewidth
        Code: fig.update_smiths(realaxis_linewidth=<VALUE>)
        Type: number greater than or equal to 0
        Default: 1

        Sets the width (in px) of the axis line.

      • showgrid
        Code: fig.update_smiths(realaxis_showgrid=<VALUE>)
        Type: boolean
        Default: True

        Determines whether or not grid lines are drawn. If "True", the grid lines are drawn at every tick mark.

      • showline
        Code: fig.update_smiths(realaxis_showline=<VALUE>)
        Type: boolean
        Default: True

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

      • showticklabels
        Code: fig.update_smiths(realaxis_showticklabels=<VALUE>)
        Type: boolean
        Default: True

        Determines whether or not the tick labels are drawn.

      • showtickprefix
        Code: fig.update_smiths(realaxis_showtickprefix=<VALUE>)
        Type: enumerated , one of ( "all" | "first" | "last" | "none" )
        Default: "all"

        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
        Code: fig.update_smiths(realaxis_showticksuffix=<VALUE>)
        Type: enumerated , one of ( "all" | "first" | "last" | "none" )
        Default: "all"

        Same as `showtickprefix` but for tick suffixes.

      • side
        Code: fig.update_smiths(realaxis_side=<VALUE>)
        Type: enumerated , one of ( "top" | "bottom" )
        Default: "top"

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

      • tickangle
        Code: fig.update_smiths(realaxis_tickangle=<VALUE>)
        Type: angle
        Default: 90

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

      • tickcolor
        Code: fig.update_smiths(realaxis_tickcolor=<VALUE>)
        Type: color
        Default: "#444"

        Sets the tick color.

      • tickfont
        Code: fig.update_smiths(realaxis_tickfont=dict(...))
        Type: dict containing one or more of the keys listed below.

        Sets the tick font.

        • color
          Code: fig.update_smiths(realaxis_tickfont_color=<VALUE>)
          Type: color
        • family
          Code: fig.update_smiths(realaxis_tickfont_family=<VALUE>)
          Type: string

          HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans",, "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".

        • size
          Code: fig.update_smiths(realaxis_tickfont_size=<VALUE>)
          Type: number greater than or equal to 1
      • tickformat
        Code: fig.update_smiths(realaxis_tickformat=<VALUE>)
        Type: string
        Default: ""

        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
        Code: fig.update_smiths(realaxis_ticklen=<VALUE>)
        Type: number greater than or equal to 0
        Default: 5

        Sets the tick length (in px).

      • tickprefix
        Code: fig.update_smiths(realaxis_tickprefix=<VALUE>)
        Type: string
        Default: ""

        Sets a tick label prefix.

      • ticks
        Code: fig.update_smiths(realaxis_ticks=<VALUE>)
        Type: enumerated , one of ( "top" | "bottom" | "" )

        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
        Code: fig.update_smiths(realaxis_ticksuffix=<VALUE>)
        Type: string
        Default: ""

        Sets a tick label suffix.

      • tickvals
        Code: fig.update_smiths(realaxis_tickvals=<VALUE>)
        Type: list, numpy array, or Pandas series of numbers, strings, or datetimes.
        Default: 0.20.5125

        Sets the values at which ticks on this axis appear.

      • tickwidth
        Code: fig.update_smiths(realaxis_tickwidth=<VALUE>)
        Type: number greater than or equal to 0
        Default: 2

        Sets the tick width (in px).

      • visible
        Code: fig.update_smiths(realaxis_visible=<VALUE>)
        Type: boolean
        Default: True

        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