You are currently viewing the new Anvil Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the new Anvil Editor Docs

plotly.graph_objs.image Module

Functions

plotly.graph_objs.image.Hoverlabel([bgcolor=], [bordercolor=], [font=], [align=], [namelength=], [bgcolorsrc=], [bordercolorsrc=], [alignsrc=], [namelengthsrc=]) → Hoverlabel

Create a new ‘Hoverlabel’ object

  • bgcolor - Sets the background color of the hover labels for this trace

  • bordercolor - Sets the border color of the hover labels for this trace.

  • font - Sets the font used in hover labels.

  • align - Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines

  • namelength - Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis.

  • bgcolorsrc - Sets the source reference on Chart Studio Cloud for bgcolor .

  • bordercolorsrc - Sets the source reference on Chart Studio Cloud for bordercolor .

  • alignsrc - Sets the source reference on Chart Studio Cloud for align .

  • namelengthsrc - Sets the source reference on Chart Studio Cloud for namelength .


plotly.graph_objs.image.Stream([token=], [maxpoints=]) → Stream

Create a new ‘Stream’ object

  • token - The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details.

  • maxpoints - Sets the maximum number of points to keep on the plots from an incoming stream. If `maxpoints` is set to *50*, only the newest 50 points will be displayed on the plot.


Globals



Do you still have questions?

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


plotly.graph_objs.image