Search is not available for this dataset
identifier
stringlengths
1
155
parameters
stringlengths
2
6.09k
docstring
stringlengths
11
63.4k
docstring_summary
stringlengths
0
63.4k
function
stringlengths
29
99.8k
function_tokens
list
start_point
list
end_point
list
language
stringclasses
1 value
docstring_language
stringlengths
2
7
docstring_language_predictions
stringlengths
18
23
is_langid_reliable
stringclasses
2 values
CmdWhisper.func
(self)
Run the whisper command
Run the whisper command
def func(self): """Run the whisper command""" caller = self.caller if not self.lhs or not self.rhs: caller.msg("Usage: whisper <character> = <message>") return receivers = [recv.strip() for recv in self.lhs.split(",")] receivers = [caller.search(receiv...
[ "def", "func", "(", "self", ")", ":", "caller", "=", "self", ".", "caller", "if", "not", "self", ".", "lhs", "or", "not", "self", ".", "rhs", ":", "caller", ".", "msg", "(", "\"Usage: whisper <character> = <message>\"", ")", "return", "receivers", "=", "...
[ 563, 4 ]
[ 587, 83 ]
python
en
['en', 'bg-Latn', 'en']
True
CmdPose.parse
(self)
Custom parse the cases where the emote starts with some special letter, such as 's, at which we don't want to separate the caller's name and the emote with a space.
Custom parse the cases where the emote starts with some special letter, such as 's, at which we don't want to separate the caller's name and the emote with a space.
def parse(self): """ Custom parse the cases where the emote starts with some special letter, such as 's, at which we don't want to separate the caller's name and the emote with a space. """ args = self.args if args and not args[0] in ["'", ",", ":"...
[ "def", "parse", "(", "self", ")", ":", "args", "=", "self", ".", "args", "if", "args", "and", "not", "args", "[", "0", "]", "in", "[", "\"'\"", ",", "\",\"", ",", "\":\"", "]", ":", "args", "=", "\" %s\"", "%", "args", ".", "strip", "(", ")", ...
[ 610, 4 ]
[ 621, 24 ]
python
en
['en', 'error', 'th']
False
CmdPose.func
(self)
Hook function
Hook function
def func(self): """Hook function""" if not self.args: msg = "What do you want to do?" self.caller.msg(msg) else: msg = "%s%s" % (self.caller.name, self.args) self.caller.location.msg_contents(text=(msg, {"type": "pose"}), ...
[ "def", "func", "(", "self", ")", ":", "if", "not", "self", ".", "args", ":", "msg", "=", "\"What do you want to do?\"", "self", ".", "caller", ".", "msg", "(", "msg", ")", "else", ":", "msg", "=", "\"%s%s\"", "%", "(", "self", ".", "caller", ".", "...
[ 623, 4 ]
[ 631, 67 ]
python
en
['en', 'af', 'en']
False
CmdAccess.func
(self)
Load the permission groups
Load the permission groups
def func(self): """Load the permission groups""" caller = self.caller hierarchy_full = settings.PERMISSION_HIERARCHY string = "\n|wPermission Hierarchy|n (climbing):\n %s" % ", ".join(hierarchy_full) if self.caller.account.is_superuser: cperms = "<Superuser>" ...
[ "def", "func", "(", "self", ")", ":", "caller", "=", "self", ".", "caller", "hierarchy_full", "=", "settings", ".", "PERMISSION_HIERARCHY", "string", "=", "\"\\n|wPermission Hierarchy|n (climbing):\\n %s\"", "%", "\", \"", ".", "join", "(", "hierarchy_full", ")", ...
[ 649, 4 ]
[ 667, 26 ]
python
en
['en', 'en', 'en']
True
Title.font
(self)
Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.histogram.marker.colorbar.title.Font` ...
Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.histogram.marker.colorbar.title.Font` ...
def font(self): """ Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.histogram.ma...
[ "def", "font", "(", "self", ")", ":", "return", "self", "[", "\"font\"", "]" ]
[ 15, 4 ]
[ 53, 27 ]
python
en
['en', 'error', 'th']
False
Title.side
(self)
Determines the location of color bar's title with respect to the color bar. Note that the title's location used to be set by the now deprecated `titleside` attribute. The 'side' property is an enumeration that may be specified as: - One of the following enumeration values...
Determines the location of color bar's title with respect to the color bar. Note that the title's location used to be set by the now deprecated `titleside` attribute. The 'side' property is an enumeration that may be specified as: - One of the following enumeration values...
def side(self): """ Determines the location of color bar's title with respect to the color bar. Note that the title's location used to be set by the now deprecated `titleside` attribute. The 'side' property is an enumeration that may be specified as: - One of the f...
[ "def", "side", "(", "self", ")", ":", "return", "self", "[", "\"side\"", "]" ]
[ 62, 4 ]
[ 76, 27 ]
python
en
['en', 'error', 'th']
False
Title.text
(self)
Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated. The 'text' property is a string and must be specified as: - A string - A ...
Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated. The 'text' property is a string and must be specified as: - A string - A ...
def text(self): """ Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated. The 'text' property is a string and must be specified as: ...
[ "def", "text", "(", "self", ")", ":", "return", "self", "[", "\"text\"", "]" ]
[ 85, 4 ]
[ 99, 27 ]
python
en
['en', 'error', 'th']
False
Title.__init__
(self, arg=None, font=None, side=None, text=None, **kwargs)
Construct a new Title object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.histogram.mark er.colorbar.Title` font Sets this color bar's title font...
Construct a new Title object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.histogram.mark er.colorbar.Title` font Sets this color bar's title font...
def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): """ Construct a new Title object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.histogram.mark ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "font", "=", "None", ",", "side", "=", "None", ",", "text", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Title", ",", "self", ")", ".", "__init__", "(", "\"title\"", ...
[ 126, 4 ]
[ 203, 34 ]
python
en
['en', 'error', 'th']
False
Line.dash
(self)
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"). Note that this style setting can also be set per direction via `increasing.line.dash` and `decre...
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"). Note that this style setting can also be set per direction via `increasing.line.dash` and `decre...
def dash(self): """ 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"). Note that this style setting can also be set per direction via `increasing.li...
[ "def", "dash", "(", "self", ")", ":", "return", "self", "[", "\"dash\"", "]" ]
[ 15, 4 ]
[ 34, 27 ]
python
en
['en', 'error', 'th']
False
Line.width
(self)
[object Object] Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. The 'width' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- ...
[object Object] Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. The 'width' property is a number and may be specified as: - An int or float in the interval [0, inf]
def width(self): """ [object Object] Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. The 'width' property is a number and may be specified as: - An int or float in the interval [0, inf] Re...
[ "def", "width", "(", "self", ")", ":", "return", "self", "[", "\"width\"", "]" ]
[ 43, 4 ]
[ 56, 28 ]
python
en
['en', 'error', 'th']
False
Line.__init__
(self, arg=None, dash=None, width=None, **kwargs)
Construct a new Line object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.ohlc.Line` dash Sets the dash style of lines. Set to a dash type string ...
Construct a new Line object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.ohlc.Line` dash Sets the dash style of lines. Set to a dash type string ...
def __init__(self, arg=None, dash=None, width=None, **kwargs): """ Construct a new Line object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.ohlc.Line` dash ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "dash", "=", "None", ",", "width", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Line", ",", "self", ")", ".", "__init__", "(", "\"line\"", ")", "if", "\"_parent\"", "...
[ 80, 4 ]
[ 149, 34 ]
python
en
['en', 'error', 'th']
False
Stream.maxpoints
(self)
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. The 'maxpoints' property is a number and may be specified as: - An int or float in the interval [0, 10000]...
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. The 'maxpoints' property is a number and may be specified as: - An int or float in the interval [0, 10000]
def maxpoints(self): """ 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. The 'maxpoints' property is a number and may be specified as: - An int or ...
[ "def", "maxpoints", "(", "self", ")", ":", "return", "self", "[", "\"maxpoints\"", "]" ]
[ 15, 4 ]
[ 28, 32 ]
python
en
['en', 'error', 'th']
False
Stream.token
(self)
The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details. The 'token' property is a string and must be specified as: - A non-empty string Returns ------- str
The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details. The 'token' property is a string and must be specified as: - A non-empty string
def token(self): """ The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details. The 'token' property is a string and must be specified as: - A non-empty string Returns ------- ...
[ "def", "token", "(", "self", ")", ":", "return", "self", "[", "\"token\"", "]" ]
[ 37, 4 ]
[ 50, 28 ]
python
en
['en', 'error', 'th']
False
Stream.__init__
(self, arg=None, maxpoints=None, token=None, **kwargs)
Construct a new Stream object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.heatmap.Stream` maxpoints Sets the maximum number of points to keep on...
Construct a new Stream object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.heatmap.Stream` maxpoints Sets the maximum number of points to keep on...
def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): """ Construct a new Stream object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.heatmap.Str...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "maxpoints", "=", "None", ",", "token", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Stream", ",", "self", ")", ".", "__init__", "(", "\"stream\"", ")", "if", "\"_paren...
[ 72, 4 ]
[ 140, 34 ]
python
en
['en', 'error', 'th']
False
ErrorY.array
(self)
Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data. The 'array' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data. The 'array' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def array(self): """ Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data. The 'array' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- ...
[ "def", "array", "(", "self", ")", ":", "return", "self", "[", "\"array\"", "]" ]
[ 31, 4 ]
[ 43, 28 ]
python
en
['en', 'error', 'th']
False
ErrorY.arrayminus
(self)
Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data. The 'arrayminus' property is an array that may be specified as a tuple, list, numpy array, or pandas Se...
Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data. The 'arrayminus' property is an array that may be specified as a tuple, list, numpy array, or pandas Se...
def arrayminus(self): """ Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data. The 'arrayminus' property is an array that may be specified as a tuple, ...
[ "def", "arrayminus", "(", "self", ")", ":", "return", "self", "[", "\"arrayminus\"", "]" ]
[ 52, 4 ]
[ 65, 33 ]
python
en
['en', 'error', 'th']
False
ErrorY.arrayminussrc
(self)
Sets the source reference on Chart Studio Cloud for arrayminus . The 'arrayminussrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for arrayminus . The 'arrayminussrc' property must be specified as a string or as a plotly.grid_objs.Column object
def arrayminussrc(self): """ Sets the source reference on Chart Studio Cloud for arrayminus . The 'arrayminussrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["arra...
[ "def", "arrayminussrc", "(", "self", ")", ":", "return", "self", "[", "\"arrayminussrc\"", "]" ]
[ 74, 4 ]
[ 86, 36 ]
python
en
['en', 'error', 'th']
False
ErrorY.arraysrc
(self)
Sets the source reference on Chart Studio Cloud for array . The 'arraysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for array . The 'arraysrc' property must be specified as a string or as a plotly.grid_objs.Column object
def arraysrc(self): """ Sets the source reference on Chart Studio Cloud for array . The 'arraysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["arraysrc"]
[ "def", "arraysrc", "(", "self", ")", ":", "return", "self", "[", "\"arraysrc\"", "]" ]
[ 95, 4 ]
[ 106, 31 ]
python
en
['en', 'error', 'th']
False
ErrorY.color
(self)
Sets the stoke color of the error bars. The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,1...
Sets the stoke color of the error bars. The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,1...
def color(self): """ Sets the stoke color of the error bars. The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsv...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 115, 4 ]
[ 165, 28 ]
python
en
['en', 'error', 'th']
False
ErrorY.copy_zstyle
(self)
The 'copy_zstyle' property must be specified as a bool (either True, or False) Returns ------- bool
The 'copy_zstyle' property must be specified as a bool (either True, or False)
def copy_zstyle(self): """ The 'copy_zstyle' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["copy_zstyle"]
[ "def", "copy_zstyle", "(", "self", ")", ":", "return", "self", "[", "\"copy_zstyle\"", "]" ]
[ 174, 4 ]
[ 183, 34 ]
python
en
['en', 'error', 'th']
False
ErrorY.symmetric
(self)
Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. The 'symmetric' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. The 'symmetric' property must be specified as a bool (either True, or False)
def symmetric(self): """ Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. The 'symmetric' property must be specified as a bool (either True, or False) Returns ...
[ "def", "symmetric", "(", "self", ")", ":", "return", "self", "[", "\"symmetric\"", "]" ]
[ 192, 4 ]
[ 205, 32 ]
python
en
['en', 'error', 'th']
False
ErrorY.thickness
(self)
Sets the thickness (in px) of the error bars. The 'thickness' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the thickness (in px) of the error bars. The 'thickness' property is a number and may be specified as: - An int or float in the interval [0, inf]
def thickness(self): """ Sets the thickness (in px) of the error bars. The 'thickness' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["thickness"]
[ "def", "thickness", "(", "self", ")", ":", "return", "self", "[", "\"thickness\"", "]" ]
[ 214, 4 ]
[ 225, 32 ]
python
en
['en', 'error', 'th']
False
ErrorY.traceref
(self)
The 'traceref' property is a integer and may be specified as: - An int (or float that will be cast to an int) in the interval [0, 9223372036854775807] Returns ------- int
The 'traceref' property is a integer and may be specified as: - An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]
def traceref(self): """ The 'traceref' property is a integer and may be specified as: - An int (or float that will be cast to an int) in the interval [0, 9223372036854775807] Returns ------- int """ return self["traceref"]
[ "def", "traceref", "(", "self", ")", ":", "return", "self", "[", "\"traceref\"", "]" ]
[ 234, 4 ]
[ 244, 31 ]
python
en
['en', 'error', 'th']
False
ErrorY.tracerefminus
(self)
The 'tracerefminus' property is a integer and may be specified as: - An int (or float that will be cast to an int) in the interval [0, 9223372036854775807] Returns ------- int
The 'tracerefminus' property is a integer and may be specified as: - An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]
def tracerefminus(self): """ The 'tracerefminus' property is a integer and may be specified as: - An int (or float that will be cast to an int) in the interval [0, 9223372036854775807] Returns ------- int """ return self["tracerefminus"]
[ "def", "tracerefminus", "(", "self", ")", ":", "return", "self", "[", "\"tracerefminus\"", "]" ]
[ 253, 4 ]
[ 263, 36 ]
python
en
['en', 'error', 'th']
False
ErrorY.type
(self)
Determines the rule used to generate the error bars. If *constant`, the bar lengths are of a constant value. Set this constant in `value`. If "percent", the bar lengths correspond to a percentage of underlying data. Set this percentage in `value`. If "sqrt", the bar lengths corr...
Determines the rule used to generate the error bars. If *constant`, the bar lengths are of a constant value. Set this constant in `value`. If "percent", the bar lengths correspond to a percentage of underlying data. Set this percentage in `value`. If "sqrt", the bar lengths corr...
def type(self): """ Determines the rule used to generate the error bars. If *constant`, the bar lengths are of a constant value. Set this constant in `value`. If "percent", the bar lengths correspond to a percentage of underlying data. Set this percentage in `value`. If "...
[ "def", "type", "(", "self", ")", ":", "return", "self", "[", "\"type\"", "]" ]
[ 272, 4 ]
[ 290, 27 ]
python
en
['en', 'error', 'th']
False
ErrorY.value
(self)
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars. The 'value' property is a number and may be specified as: - An int or float in the interval [0, inf] ...
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars. The 'value' property is a number and may be specified as: - An int or float in the interval [0, inf]
def value(self): """ Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars. The 'value' property is a number and may be specified as: - An int or float...
[ "def", "value", "(", "self", ")", ":", "return", "self", "[", "\"value\"", "]" ]
[ 299, 4 ]
[ 312, 28 ]
python
en
['en', 'error', 'th']
False
ErrorY.valueminus
(self)
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars The 'valueminus' property is a number and ma...
Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars The 'valueminus' property is a number and ma...
def valueminus(self): """ Sets the value of either the percentage (if `type` is set to "percent") or the constant (if `type` is set to "constant") corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars The 'valuem...
[ "def", "valueminus", "(", "self", ")", ":", "return", "self", "[", "\"valueminus\"", "]" ]
[ 321, 4 ]
[ 335, 33 ]
python
en
['en', 'error', 'th']
False
ErrorY.visible
(self)
Determines whether or not this set of error bars is visible. The 'visible' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not this set of error bars is visible. The 'visible' property must be specified as a bool (either True, or False)
def visible(self): """ Determines whether or not this set of error bars is visible. The 'visible' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["visible"]
[ "def", "visible", "(", "self", ")", ":", "return", "self", "[", "\"visible\"", "]" ]
[ 344, 4 ]
[ 355, 30 ]
python
en
['en', 'error', 'th']
False
ErrorY.width
(self)
Sets the width (in px) of the cross-bar at both ends of the error bars. The 'width' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the width (in px) of the cross-bar at both ends of the error bars. The 'width' property is a number and may be specified as: - An int or float in the interval [0, inf]
def width(self): """ Sets the width (in px) of the cross-bar at both ends of the error bars. The 'width' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return s...
[ "def", "width", "(", "self", ")", ":", "return", "self", "[", "\"width\"", "]" ]
[ 364, 4 ]
[ 376, 28 ]
python
en
['en', 'error', 'th']
False
ErrorY.__init__
( self, arg=None, array=None, arrayminus=None, arrayminussrc=None, arraysrc=None, color=None, copy_zstyle=None, symmetric=None, thickness=None, traceref=None, tracerefminus=None, type=None, value=None, ...
Construct a new ErrorY object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatter3d.ErrorY` array Sets the data corresponding the length of each...
Construct a new ErrorY object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatter3d.ErrorY` array Sets the data corresponding the length of each...
def __init__( self, arg=None, array=None, arrayminus=None, arrayminussrc=None, arraysrc=None, color=None, copy_zstyle=None, symmetric=None, thickness=None, traceref=None, tracerefminus=None, type=None, value=...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "array", "=", "None", ",", "arrayminus", "=", "None", ",", "arrayminussrc", "=", "None", ",", "arraysrc", "=", "None", ",", "color", "=", "None", ",", "copy_zstyle", "=", "None", ",", "sym...
[ 444, 4 ]
[ 629, 34 ]
python
en
['en', 'error', 'th']
False
main
(opt)
Extracts training data for the negative response classifier (NRC) from Mturk logs. input: file of logs (in ParlaiDialog format) from Mturk task 1 with turn-by-turn quality ratings 1-5 output: file of episodes (self-feeding format) w/ +1/-1 ratings indicating positive/negative example
Extracts training data for the negative response classifier (NRC) from Mturk logs.
def main(opt): """ Extracts training data for the negative response classifier (NRC) from Mturk logs. input: file of logs (in ParlaiDialog format) from Mturk task 1 with turn-by-turn quality ratings 1-5 output: file of episodes (self-feeding format) w/ +1/-1 ratings indicating positive/...
[ "def", "main", "(", "opt", ")", ":", "examples", "=", "[", "]", "positives", "=", "opt", "[", "'positives'", "]", ".", "split", "(", "','", ")", "negatives", "=", "opt", "[", "'negatives'", "]", ".", "split", "(", "','", ")", "assert", "len", "(", ...
[ 53, 0 ]
[ 132, 5 ]
python
en
['en', 'error', 'th']
False
Tokens.words
(self, uncased=False)
Returns a list of the text of each token. Args: uncased: lower cases text
Returns a list of the text of each token.
def words(self, uncased=False): """ Returns a list of the text of each token. Args: uncased: lower cases text """ if uncased: return [t[self.TEXT].lower() for t in self.data] else: return [t[self.TEXT] for t in self.data]
[ "def", "words", "(", "self", ",", "uncased", "=", "False", ")", ":", "if", "uncased", ":", "return", "[", "t", "[", "self", ".", "TEXT", "]", ".", "lower", "(", ")", "for", "t", "in", "self", ".", "data", "]", "else", ":", "return", "[", "t", ...
[ 28, 4 ]
[ 38, 52 ]
python
en
['en', 'error', 'th']
False
Tokens.ngrams
(self, n=1, uncased=False, filter_fn=None, as_strings=True)
Returns a list of all ngrams from length 1 to n. Args: n: upper limit of ngram length uncased: lower cases text filter_fn: user function that takes in an ngram list and returns True or False to keep or not keep the ngram as_string: return t...
Returns a list of all ngrams from length 1 to n.
def ngrams(self, n=1, uncased=False, filter_fn=None, as_strings=True): """ Returns a list of all ngrams from length 1 to n. Args: n: upper limit of ngram length uncased: lower cases text filter_fn: user function that takes in an ngram list and returns ...
[ "def", "ngrams", "(", "self", ",", "n", "=", "1", ",", "uncased", "=", "False", ",", "filter_fn", "=", "None", ",", "as_strings", "=", "True", ")", ":", "def", "_skip", "(", "gram", ")", ":", "if", "not", "filter_fn", ":", "return", "False", "retur...
[ 40, 4 ]
[ 69, 21 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.dtickrange
(self)
range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The...
range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The...
def dtickrange(self): """ range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple...
[ "def", "dtickrange", "(", "self", ")", ":", "return", "self", "[", "\"dtickrange\"", "]" ]
[ 15, 4 ]
[ 31, 33 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.enabled
(self)
Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False)
def enabled(self): """ Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False) Returns ------- bool """ ret...
[ "def", "enabled", "(", "self", ")", ":", "return", "self", "[", "\"enabled\"", "]" ]
[ 40, 4 ]
[ 52, 30 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.name
(self)
When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications ...
When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications ...
def name(self): """ When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` al...
[ "def", "name", "(", "self", ")", ":", "return", "self", "[", "\"name\"", "]" ]
[ 61, 4 ]
[ 79, 27 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.templateitemname
(self)
Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (includ...
Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (includ...
def templateitemname(self): """ Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, ...
[ "def", "templateitemname", "(", "self", ")", ":", "return", "self", "[", "\"templateitemname\"", "]" ]
[ 88, 4 ]
[ 107, 39 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.value
(self)
string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string
def value(self): """ string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str "...
[ "def", "value", "(", "self", ")", ":", "return", "self", "[", "\"value\"", "]" ]
[ 116, 4 ]
[ 129, 28 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.__init__
( self, arg=None, dtickrange=None, enabled=None, name=None, templateitemname=None, value=None, **kwargs )
Construct a new Tickformatstop object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.polar.r adialaxis.Tickformatstop` dtickrange range [*mi...
Construct a new Tickformatstop object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.polar.r adialaxis.Tickformatstop` dtickrange range [*mi...
def __init__( self, arg=None, dtickrange=None, enabled=None, name=None, templateitemname=None, value=None, **kwargs ): """ Construct a new Tickformatstop object Parameters ---------- arg dict...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "dtickrange", "=", "None", ",", "enabled", "=", "None", ",", "name", "=", "None", ",", "templateitemname", "=", "None", ",", "value", "=", "None", ",", "*", "*", "kwargs", ")", ":", "sup...
[ 172, 4 ]
[ 282, 34 ]
python
en
['en', 'error', 'th']
False
Scattergeo.connectgaps
(self)
Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. The 'connectgaps' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. The 'connectgaps' property must be specified as a bool (either True, or False)
def connectgaps(self): """ Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. The 'connectgaps' property must be specified as a bool (either True, or False) Returns ------- bool """ ...
[ "def", "connectgaps", "(", "self", ")", ":", "return", "self", "[", "\"connectgaps\"", "]" ]
[ 64, 4 ]
[ 76, 34 ]
python
en
['en', 'error', 'th']
False
Scattergeo.customdata
(self)
Assigns extra data each datum. This may be useful when listening to hover, click and selection events. Note that, "scatter" traces also appends customdata items in the markers DOM elements The 'customdata' property is an array that may be specified as a tuple, list,...
Assigns extra data each datum. This may be useful when listening to hover, click and selection events. Note that, "scatter" traces also appends customdata items in the markers DOM elements The 'customdata' property is an array that may be specified as a tuple, list,...
def customdata(self): """ Assigns extra data each datum. This may be useful when listening to hover, click and selection events. Note that, "scatter" traces also appends customdata items in the markers DOM elements The 'customdata' property is an array that may be sp...
[ "def", "customdata", "(", "self", ")", ":", "return", "self", "[", "\"customdata\"", "]" ]
[ 85, 4 ]
[ 99, 33 ]
python
en
['en', 'error', 'th']
False
Scattergeo.customdatasrc
(self)
Sets the source reference on Chart Studio Cloud for customdata . The 'customdatasrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for customdata . The 'customdatasrc' property must be specified as a string or as a plotly.grid_objs.Column object
def customdatasrc(self): """ Sets the source reference on Chart Studio Cloud for customdata . The 'customdatasrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["cust...
[ "def", "customdatasrc", "(", "self", ")", ":", "return", "self", "[", "\"customdatasrc\"", "]" ]
[ 108, 4 ]
[ 120, 36 ]
python
en
['en', 'error', 'th']
False
Scattergeo.featureidkey
(self)
Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for example "properties.name". The 'featureidkey' property is a string and must be specified as: ...
Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for example "properties.name". The 'featureidkey' property is a string and must be specified as: ...
def featureidkey(self): """ Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for example "properties.name". The 'featureidkey' property is a s...
[ "def", "featureidkey", "(", "self", ")", ":", "return", "self", "[", "\"featureidkey\"", "]" ]
[ 129, 4 ]
[ 144, 35 ]
python
en
['en', 'error', 'th']
False
Scattergeo.fill
(self)
Sets the area to fill with a solid color. Use with `fillcolor` if not "none". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. The 'fill' property is an enumeration that may be specified as: - One of the follo...
Sets the area to fill with a solid color. Use with `fillcolor` if not "none". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. The 'fill' property is an enumeration that may be specified as: - One of the follo...
def fill(self): """ Sets the area to fill with a solid color. Use with `fillcolor` if not "none". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. The 'fill' property is an enumeration that may be specified as: ...
[ "def", "fill", "(", "self", ")", ":", "return", "self", "[", "\"fill\"", "]" ]
[ 153, 4 ]
[ 167, 27 ]
python
en
['en', 'error', 'th']
False
Scattergeo.fillcolor
(self)
Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. The 'fillcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rg...
Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. The 'fillcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rg...
def fillcolor(self): """ Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. The 'fillcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') ...
[ "def", "fillcolor", "(", "self", ")", ":", "return", "self", "[", "\"fillcolor\"", "]" ]
[ 176, 4 ]
[ 228, 32 ]
python
en
['en', 'error', 'th']
False
Scattergeo.geo
(self)
Sets a reference between this trace's geospatial coordinates and a geographic map. If "geo" (the default value), the geospatial coordinates refer to `layout.geo`. If "geo2", the geospatial coordinates refer to `layout.geo2`, and so on. The 'geo' property is an identifier of...
Sets a reference between this trace's geospatial coordinates and a geographic map. If "geo" (the default value), the geospatial coordinates refer to `layout.geo`. If "geo2", the geospatial coordinates refer to `layout.geo2`, and so on. The 'geo' property is an identifier of...
def geo(self): """ Sets a reference between this trace's geospatial coordinates and a geographic map. If "geo" (the default value), the geospatial coordinates refer to `layout.geo`. If "geo2", the geospatial coordinates refer to `layout.geo2`, and so on. The 'geo' pr...
[ "def", "geo", "(", "self", ")", ":", "return", "self", "[", "\"geo\"", "]" ]
[ 237, 4 ]
[ 253, 26 ]
python
en
['en', 'error', 'th']
False
Scattergeo.geojson
(self)
Sets optional GeoJSON data associated with this trace. If not given, the features on the base map are used when `locations` is set. It can be set as a valid GeoJSON object or as a URL string. Note that we only accept GeoJSONs of type "FeatureCollection" or "Feature" with geometr...
Sets optional GeoJSON data associated with this trace. If not given, the features on the base map are used when `locations` is set. It can be set as a valid GeoJSON object or as a URL string. Note that we only accept GeoJSONs of type "FeatureCollection" or "Feature" with geometr...
def geojson(self): """ Sets optional GeoJSON data associated with this trace. If not given, the features on the base map are used when `locations` is set. It can be set as a valid GeoJSON object or as a URL string. Note that we only accept GeoJSONs of type "FeatureCollect...
[ "def", "geojson", "(", "self", ")", ":", "return", "self", "[", "\"geojson\"", "]" ]
[ 262, 4 ]
[ 277, 30 ]
python
en
['en', 'error', 'th']
False
Scattergeo.hoverinfo
(self)
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. The 'hoverinfo' property is a flaglist and may be specified as a string containing: ...
Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. The 'hoverinfo' property is a flaglist and may be specified as a string containing: ...
def hoverinfo(self): """ Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. The 'hoverinfo' property is a flaglist and may be specified ...
[ "def", "hoverinfo", "(", "self", ")", ":", "return", "self", "[", "\"hoverinfo\"", "]" ]
[ 286, 4 ]
[ 303, 32 ]
python
en
['en', 'error', 'th']
False
Scattergeo.hoverinfosrc
(self)
Sets the source reference on Chart Studio Cloud for hoverinfo . The 'hoverinfosrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for hoverinfo . The 'hoverinfosrc' property must be specified as a string or as a plotly.grid_objs.Column object
def hoverinfosrc(self): """ Sets the source reference on Chart Studio Cloud for hoverinfo . The 'hoverinfosrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["hoverin...
[ "def", "hoverinfosrc", "(", "self", ")", ":", "return", "self", "[", "\"hoverinfosrc\"", "]" ]
[ 312, 4 ]
[ 324, 35 ]
python
en
['en', 'error', 'th']
False
Scattergeo.hoverlabel
(self)
The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor Supported dict proper...
The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor Supported dict proper...
def hoverlabel(self): """ The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor ...
[ "def", "hoverlabel", "(", "self", ")", ":", "return", "self", "[", "\"hoverlabel\"", "]" ]
[ 333, 4 ]
[ 383, 33 ]
python
en
['en', 'error', 'th']
False
Scattergeo.hovertemplate
(self)
Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$...
Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$...
def hovertemplate(self): """ Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d...
[ "def", "hovertemplate", "(", "self", ")", ":", "return", "self", "[", "\"hovertemplate\"", "]" ]
[ 392, 4 ]
[ 424, 36 ]
python
en
['en', 'error', 'th']
False
Scattergeo.hovertemplatesrc
(self)
Sets the source reference on Chart Studio Cloud for hovertemplate . The 'hovertemplatesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for hovertemplate . The 'hovertemplatesrc' property must be specified as a string or as a plotly.grid_objs.Column object
def hovertemplatesrc(self): """ Sets the source reference on Chart Studio Cloud for hovertemplate . The 'hovertemplatesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return se...
[ "def", "hovertemplatesrc", "(", "self", ")", ":", "return", "self", "[", "\"hovertemplatesrc\"", "]" ]
[ 433, 4 ]
[ 445, 39 ]
python
en
['en', 'error', 'th']
False
Scattergeo.hovertext
(self)
Sets hover text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. To be seen, t...
Sets hover text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. To be seen, t...
def hovertext(self): """ Sets hover text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locat...
[ "def", "hovertext", "(", "self", ")", ":", "return", "self", "[", "\"hovertext\"", "]" ]
[ 454, 4 ]
[ 472, 32 ]
python
en
['en', 'error', 'th']
False
Scattergeo.hovertextsrc
(self)
Sets the source reference on Chart Studio Cloud for hovertext . The 'hovertextsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for hovertext . The 'hovertextsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def hovertextsrc(self): """ Sets the source reference on Chart Studio Cloud for hovertext . The 'hovertextsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["hoverte...
[ "def", "hovertextsrc", "(", "self", ")", ":", "return", "self", "[", "\"hovertextsrc\"", "]" ]
[ 481, 4 ]
[ 493, 35 ]
python
en
['en', 'error', 'th']
False
Scattergeo.ids
(self)
Assigns id labels to each datum. These ids for object constancy of data points during animation. Should be an array of strings, not numbers or any other type. The 'ids' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Retur...
Assigns id labels to each datum. These ids for object constancy of data points during animation. Should be an array of strings, not numbers or any other type. The 'ids' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def ids(self): """ Assigns id labels to each datum. These ids for object constancy of data points during animation. Should be an array of strings, not numbers or any other type. The 'ids' property is an array that may be specified as a tuple, list, numpy array, or pa...
[ "def", "ids", "(", "self", ")", ":", "return", "self", "[", "\"ids\"", "]" ]
[ 502, 4 ]
[ 515, 26 ]
python
en
['en', 'error', 'th']
False
Scattergeo.idssrc
(self)
Sets the source reference on Chart Studio Cloud for ids . The 'idssrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for ids . The 'idssrc' property must be specified as a string or as a plotly.grid_objs.Column object
def idssrc(self): """ Sets the source reference on Chart Studio Cloud for ids . The 'idssrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["idssrc"]
[ "def", "idssrc", "(", "self", ")", ":", "return", "self", "[", "\"idssrc\"", "]" ]
[ 524, 4 ]
[ 535, 29 ]
python
en
['en', 'error', 'th']
False
Scattergeo.lat
(self)
Sets the latitude coordinates (in degrees North). The 'lat' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the latitude coordinates (in degrees North). The 'lat' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def lat(self): """ Sets the latitude coordinates (in degrees North). The 'lat' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["lat"]
[ "def", "lat", "(", "self", ")", ":", "return", "self", "[", "\"lat\"", "]" ]
[ 544, 4 ]
[ 555, 26 ]
python
en
['en', 'error', 'th']
False
Scattergeo.latsrc
(self)
Sets the source reference on Chart Studio Cloud for lat . The 'latsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for lat . The 'latsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def latsrc(self): """ Sets the source reference on Chart Studio Cloud for lat . The 'latsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["latsrc"]
[ "def", "latsrc", "(", "self", ")", ":", "return", "self", "[", "\"latsrc\"", "]" ]
[ 564, 4 ]
[ 575, 29 ]
python
en
['en', 'error', 'th']
False
Scattergeo.legendgroup
(self)
Sets the legend group for this trace. Traces part of the same legend group hide/show at the same time when toggling legend items. The 'legendgroup' property is a string and must be specified as: - A string - A number that will be converted to a string R...
Sets the legend group for this trace. Traces part of the same legend group hide/show at the same time when toggling legend items. The 'legendgroup' property is a string and must be specified as: - A string - A number that will be converted to a string
def legendgroup(self): """ Sets the legend group for this trace. Traces part of the same legend group hide/show at the same time when toggling legend items. The 'legendgroup' property is a string and must be specified as: - A string - A number that will b...
[ "def", "legendgroup", "(", "self", ")", ":", "return", "self", "[", "\"legendgroup\"", "]" ]
[ 584, 4 ]
[ 598, 34 ]
python
en
['en', 'error', 'th']
False
Scattergeo.line
(self)
The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Line` - A dict of string/value properties that will be passed to the Line constructor Supported dict properties: ...
The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Line` - A dict of string/value properties that will be passed to the Line constructor Supported dict properties: ...
def line(self): """ The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Line` - A dict of string/value properties that will be passed to the Line constructor Supported dict pro...
[ "def", "line", "(", "self", ")", ":", "return", "self", "[", "\"line\"", "]" ]
[ 607, 4 ]
[ 631, 27 ]
python
en
['en', 'error', 'th']
False
Scattergeo.locationmode
(self)
Determines the set of locations used to match entries in `locations` to regions on the map. Values "ISO-3", "USA- states", *country names* correspond to features on the base map and value "geojson-id" corresponds to features from a custom GeoJSON linked to the `geojson` attribut...
Determines the set of locations used to match entries in `locations` to regions on the map. Values "ISO-3", "USA- states", *country names* correspond to features on the base map and value "geojson-id" corresponds to features from a custom GeoJSON linked to the `geojson` attribut...
def locationmode(self): """ Determines the set of locations used to match entries in `locations` to regions on the map. Values "ISO-3", "USA- states", *country names* correspond to features on the base map and value "geojson-id" corresponds to features from a custom GeoJS...
[ "def", "locationmode", "(", "self", ")", ":", "return", "self", "[", "\"locationmode\"", "]" ]
[ 640, 4 ]
[ 656, 35 ]
python
en
['en', 'error', 'th']
False
Scattergeo.locations
(self)
Sets the coordinates via location IDs or names. Coordinates correspond to the centroid of each location given. See `locationmode` for more info. The 'locations' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ...
Sets the coordinates via location IDs or names. Coordinates correspond to the centroid of each location given. See `locationmode` for more info. The 'locations' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def locations(self): """ Sets the coordinates via location IDs or names. Coordinates correspond to the centroid of each location given. See `locationmode` for more info. The 'locations' property is an array that may be specified as a tuple, list, numpy array, or pand...
[ "def", "locations", "(", "self", ")", ":", "return", "self", "[", "\"locations\"", "]" ]
[ 665, 4 ]
[ 678, 32 ]
python
en
['en', 'error', 'th']
False
Scattergeo.locationssrc
(self)
Sets the source reference on Chart Studio Cloud for locations . The 'locationssrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for locations . The 'locationssrc' property must be specified as a string or as a plotly.grid_objs.Column object
def locationssrc(self): """ Sets the source reference on Chart Studio Cloud for locations . The 'locationssrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["locatio...
[ "def", "locationssrc", "(", "self", ")", ":", "return", "self", "[", "\"locationssrc\"", "]" ]
[ 687, 4 ]
[ 699, 35 ]
python
en
['en', 'error', 'th']
False
Scattergeo.lon
(self)
Sets the longitude coordinates (in degrees East). The 'lon' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the longitude coordinates (in degrees East). The 'lon' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def lon(self): """ Sets the longitude coordinates (in degrees East). The 'lon' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["lon"]
[ "def", "lon", "(", "self", ")", ":", "return", "self", "[", "\"lon\"", "]" ]
[ 708, 4 ]
[ 719, 26 ]
python
en
['en', 'error', 'th']
False
Scattergeo.lonsrc
(self)
Sets the source reference on Chart Studio Cloud for lon . The 'lonsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for lon . The 'lonsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def lonsrc(self): """ Sets the source reference on Chart Studio Cloud for lon . The 'lonsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["lonsrc"]
[ "def", "lonsrc", "(", "self", ")", ":", "return", "self", "[", "\"lonsrc\"", "]" ]
[ 728, 4 ]
[ 739, 29 ]
python
en
['en', 'error', 'th']
False
Scattergeo.marker
(self)
The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported dict properties: ...
The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported dict properties: ...
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supporte...
[ "def", "marker", "(", "self", ")", ":", "return", "self", "[", "\"marker\"", "]" ]
[ 748, 4 ]
[ 891, 29 ]
python
en
['en', 'error', 'th']
False
Scattergeo.meta
(self)
Assigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To acce...
Assigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To acce...
def meta(self): """ Assigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text ...
[ "def", "meta", "(", "self", ")", ":", "return", "self", "[", "\"meta\"", "]" ]
[ 900, 4 ]
[ 919, 27 ]
python
en
['en', 'error', 'th']
False
Scattergeo.metasrc
(self)
Sets the source reference on Chart Studio Cloud for meta . The 'metasrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for meta . The 'metasrc' property must be specified as a string or as a plotly.grid_objs.Column object
def metasrc(self): """ Sets the source reference on Chart Studio Cloud for meta . The 'metasrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["metasrc"]
[ "def", "metasrc", "(", "self", ")", ":", "return", "self", "[", "\"metasrc\"", "]" ]
[ 928, 4 ]
[ 939, 30 ]
python
en
['en', 'error', 'th']
False
Scattergeo.mode
(self)
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines...
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines...
def mode(self): """ Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked...
[ "def", "mode", "(", "self", ")", ":", "return", "self", "[", "\"mode\"", "]" ]
[ 948, 4 ]
[ 967, 27 ]
python
en
['en', 'error', 'th']
False
Scattergeo.name
(self)
Sets the trace name. The trace name appear as the legend item and on hover. The 'name' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
Sets the trace name. The trace name appear as the legend item and on hover. The 'name' property is a string and must be specified as: - A string - A number that will be converted to a string
def name(self): """ Sets the trace name. The trace name appear as the legend item and on hover. The 'name' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str ...
[ "def", "name", "(", "self", ")", ":", "return", "self", "[", "\"name\"", "]" ]
[ 976, 4 ]
[ 989, 27 ]
python
en
['en', 'error', 'th']
False
Scattergeo.opacity
(self)
Sets the opacity of the trace. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Sets the opacity of the trace. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1]
def opacity(self): """ Sets the opacity of the trace. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float """ return self["opacity"]
[ "def", "opacity", "(", "self", ")", ":", "return", "self", "[", "\"opacity\"", "]" ]
[ 998, 4 ]
[ 1009, 30 ]
python
en
['en', 'error', 'th']
False
Scattergeo.selected
(self)
The 'selected' property is an instance of Selected that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Selected` - A dict of string/value properties that will be passed to the Selected constructor Supported dict properties: ...
The 'selected' property is an instance of Selected that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Selected` - A dict of string/value properties that will be passed to the Selected constructor Supported dict properties: ...
def selected(self): """ The 'selected' property is an instance of Selected that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Selected` - A dict of string/value properties that will be passed to the Selected constructor ...
[ "def", "selected", "(", "self", ")", ":", "return", "self", "[", "\"selected\"", "]" ]
[ 1018, 4 ]
[ 1041, 31 ]
python
en
['en', 'error', 'th']
False
Scattergeo.selectedpoints
(self)
Array containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the...
Array containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the...
def selectedpoints(self): """ Array containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values ...
[ "def", "selectedpoints", "(", "self", ")", ":", "return", "self", "[", "\"selectedpoints\"", "]" ]
[ 1050, 4 ]
[ 1065, 37 ]
python
en
['en', 'error', 'th']
False
Scattergeo.showlegend
(self)
Determines whether or not an item corresponding to this trace is shown in the legend. The 'showlegend' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not an item corresponding to this trace is shown in the legend. The 'showlegend' property must be specified as a bool (either True, or False)
def showlegend(self): """ Determines whether or not an item corresponding to this trace is shown in the legend. The 'showlegend' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showle...
[ "def", "showlegend", "(", "self", ")", ":", "return", "self", "[", "\"showlegend\"", "]" ]
[ 1074, 4 ]
[ 1086, 33 ]
python
en
['en', 'error', 'th']
False
Scattergeo.stream
(self)
The 'stream' property is an instance of Stream that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Stream` - A dict of string/value properties that will be passed to the Stream constructor Supported dict properties: ...
The 'stream' property is an instance of Stream that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Stream` - A dict of string/value properties that will be passed to the Stream constructor Supported dict properties: ...
def stream(self): """ The 'stream' property is an instance of Stream that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Stream` - A dict of string/value properties that will be passed to the Stream constructor Supporte...
[ "def", "stream", "(", "self", ")", ":", "return", "self", "[", "\"stream\"", "]" ]
[ 1095, 4 ]
[ 1119, 29 ]
python
en
['en', 'error', 'th']
False
Scattergeo.text
(self)
Sets text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. If trace `hoverinfo...
Sets text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. If trace `hoverinfo...
def text(self): """ Sets text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coord...
[ "def", "text", "(", "self", ")", ":", "return", "self", "[", "\"text\"", "]" ]
[ 1128, 4 ]
[ 1147, 27 ]
python
en
['en', 'error', 'th']
False
Scattergeo.textfont
(self)
Sets the text font. The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Textfont` - A dict of string/value properties that will be passed to the Textfont constructor ...
Sets the text font. The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Textfont` - A dict of string/value properties that will be passed to the Textfont constructor ...
def textfont(self): """ Sets the text font. The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Textfont` - A dict of string/value properties that will be passed to the Tex...
[ "def", "textfont", "(", "self", ")", ":", "return", "self", "[", "\"textfont\"", "]" ]
[ 1156, 4 ]
[ 1203, 31 ]
python
en
['en', 'error', 'th']
False
Scattergeo.textposition
(self)
Sets the positions of the `text` elements with respects to the (x,y) coordinates. The 'textposition' property is an enumeration that may be specified as: - One of the following enumeration values: ['top left', 'top center', 'top right', 'middle left', ...
Sets the positions of the `text` elements with respects to the (x,y) coordinates. The 'textposition' property is an enumeration that may be specified as: - One of the following enumeration values: ['top left', 'top center', 'top right', 'middle left', ...
def textposition(self): """ Sets the positions of the `text` elements with respects to the (x,y) coordinates. The 'textposition' property is an enumeration that may be specified as: - One of the following enumeration values: ['top left', 'top center', 'top ...
[ "def", "textposition", "(", "self", ")", ":", "return", "self", "[", "\"textposition\"", "]" ]
[ 1212, 4 ]
[ 1228, 35 ]
python
en
['en', 'error', 'th']
False
Scattergeo.textpositionsrc
(self)
Sets the source reference on Chart Studio Cloud for textposition . The 'textpositionsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for textposition . The 'textpositionsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def textpositionsrc(self): """ Sets the source reference on Chart Studio Cloud for textposition . The 'textpositionsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self[...
[ "def", "textpositionsrc", "(", "self", ")", ":", "return", "self", "[", "\"textpositionsrc\"", "]" ]
[ 1237, 4 ]
[ 1249, 38 ]
python
en
['en', 'error', 'th']
False
Scattergeo.textsrc
(self)
Sets the source reference on Chart Studio Cloud for text . The 'textsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for text . The 'textsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def textsrc(self): """ Sets the source reference on Chart Studio Cloud for text . The 'textsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["textsrc"]
[ "def", "textsrc", "(", "self", ")", ":", "return", "self", "[", "\"textsrc\"", "]" ]
[ 1258, 4 ]
[ 1269, 30 ]
python
en
['en', 'error', 'th']
False
Scattergeo.texttemplate
(self)
Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:...
Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:...
def texttemplate(self): """ Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d...
[ "def", "texttemplate", "(", "self", ")", ":", "return", "self", "[", "\"texttemplate\"", "]" ]
[ 1278, 4 ]
[ 1304, 35 ]
python
en
['en', 'error', 'th']
False
Scattergeo.texttemplatesrc
(self)
Sets the source reference on Chart Studio Cloud for texttemplate . The 'texttemplatesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for texttemplate . The 'texttemplatesrc' property must be specified as a string or as a plotly.grid_objs.Column object
def texttemplatesrc(self): """ Sets the source reference on Chart Studio Cloud for texttemplate . The 'texttemplatesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self[...
[ "def", "texttemplatesrc", "(", "self", ")", ":", "return", "self", "[", "\"texttemplatesrc\"", "]" ]
[ 1313, 4 ]
[ 1325, 38 ]
python
en
['en', 'error', 'th']
False
Scattergeo.uid
(self)
Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. The 'uid' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- ...
Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. The 'uid' property is a string and must be specified as: - A string - A number that will be converted to a string
def uid(self): """ Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. The 'uid' property is a string and must be specified as: - A string - A number that will be converted to a string Return...
[ "def", "uid", "(", "self", ")", ":", "return", "self", "[", "\"uid\"", "]" ]
[ 1334, 4 ]
[ 1347, 26 ]
python
en
['en', 'error', 'th']
False
Scattergeo.uirevision
(self)
Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are co...
Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are co...
def uirevision(self): """ Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driv...
[ "def", "uirevision", "(", "self", ")", ":", "return", "self", "[", "\"uirevision\"", "]" ]
[ 1356, 4 ]
[ 1380, 33 ]
python
en
['en', 'error', 'th']
False
Scattergeo.unselected
(self)
The 'unselected' property is an instance of Unselected that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Unselected` - A dict of string/value properties that will be passed to the Unselected constructor Supported dict proper...
The 'unselected' property is an instance of Unselected that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Unselected` - A dict of string/value properties that will be passed to the Unselected constructor Supported dict proper...
def unselected(self): """ The 'unselected' property is an instance of Unselected that may be specified as: - An instance of :class:`plotly.graph_objs.scattergeo.Unselected` - A dict of string/value properties that will be passed to the Unselected constructor ...
[ "def", "unselected", "(", "self", ")", ":", "return", "self", "[", "\"unselected\"", "]" ]
[ 1389, 4 ]
[ 1412, 33 ]
python
en
['en', 'error', 'th']
False
Scattergeo.visible
(self)
Determines whether or not this trace is visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). The 'visible' property is an enumeration that may be specified as: - One of the following enumeration va...
Determines whether or not this trace is visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). The 'visible' property is an enumeration that may be specified as: - One of the following enumeration va...
def visible(self): """ Determines whether or not this trace is visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). The 'visible' property is an enumeration that may be specified as: - One o...
[ "def", "visible", "(", "self", ")", ":", "return", "self", "[", "\"visible\"", "]" ]
[ 1421, 4 ]
[ 1435, 30 ]
python
en
['en', 'error', 'th']
False
Scattergeo.__init__
( self, arg=None, connectgaps=None, customdata=None, customdatasrc=None, featureidkey=None, fill=None, fillcolor=None, geo=None, geojson=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate...
Construct a new Scattergeo object The data visualized as scatter point or lines on a geographic map is provided either by longitude/latitude pairs in `lon` and `lat` respectively or by geographic location IDs or names in `locations`. Parameters --------...
Construct a new Scattergeo object The data visualized as scatter point or lines on a geographic map is provided either by longitude/latitude pairs in `lon` and `lat` respectively or by geographic location IDs or names in `locations`.
def __init__( self, arg=None, connectgaps=None, customdata=None, customdatasrc=None, featureidkey=None, fill=None, fillcolor=None, geo=None, geojson=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, h...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "connectgaps", "=", "None", ",", "customdata", "=", "None", ",", "customdatasrc", "=", "None", ",", "featureidkey", "=", "None", ",", "fill", "=", "None", ",", "fillcolor", "=", "None", ",",...
[ 1695, 4 ]
[ 2236, 34 ]
python
en
['en', 'error', 'th']
False
get_plotlyjs_version
()
Returns the version of plotly.js that is bundled with plotly.py. Returns ------- str Plotly.js version string
Returns the version of plotly.js that is bundled with plotly.py.
def get_plotlyjs_version(): """ Returns the version of plotly.js that is bundled with plotly.py. Returns ------- str Plotly.js version string """ return __plotlyjs_version__
[ "def", "get_plotlyjs_version", "(", ")", ":", "return", "__plotlyjs_version__" ]
[ 33, 0 ]
[ 42, 31 ]
python
en
['en', 'error', 'th']
False
get_plotlyjs
()
Return the contents of the minified plotly.js library as a string. This may be useful when building standalone HTML reports. Returns ------- str Contents of the minified plotly.js library as a string Examples -------- Here is an example of creating a standalone HTML report th...
Return the contents of the minified plotly.js library as a string.
def get_plotlyjs(): """ Return the contents of the minified plotly.js library as a string. This may be useful when building standalone HTML reports. Returns ------- str Contents of the minified plotly.js library as a string Examples -------- Here is an example of creating ...
[ "def", "get_plotlyjs", "(", ")", ":", "path", "=", "os", ".", "path", ".", "join", "(", "\"package_data\"", ",", "\"plotly.min.js\"", ")", "plotlyjs", "=", "pkgutil", ".", "get_data", "(", "\"plotly\"", ",", "path", ")", ".", "decode", "(", "\"utf-8\"", ...
[ 45, 0 ]
[ 90, 19 ]
python
en
['en', 'error', 'th']
False
get_image_download_script
(caller)
This function will return a script that will download an image of a Plotly plot. Keyword Arguments: caller ('plot', 'iplot') -- specifies which function made the call for the download script. If `iplot`, then an extra condition is added into the download script to ensure that download ...
This function will return a script that will download an image of a Plotly plot.
def get_image_download_script(caller): """ This function will return a script that will download an image of a Plotly plot. Keyword Arguments: caller ('plot', 'iplot') -- specifies which function made the call for the download script. If `iplot`, then an extra condition is added into the ...
[ "def", "get_image_download_script", "(", "caller", ")", ":", "if", "caller", "==", "\"iplot\"", ":", "check_start", "=", "\"if(document.readyState == 'complete') {{\"", "check_end", "=", "\"}}\"", "elif", "caller", "==", "\"plot\"", ":", "check_start", "=", "\"\"", ...
[ 196, 0 ]
[ 226, 5 ]
python
en
['en', 'error', 'th']
False
init_notebook_mode
(connected=False)
Initialize plotly.js in the browser if it hasn't been loaded into the DOM yet. This is an idempotent method and can and should be called from any offline methods that require plotly.js to be loaded into the notebook dom. Keyword arguments: connected (default=False) -- If True, the plotly.js libra...
Initialize plotly.js in the browser if it hasn't been loaded into the DOM yet. This is an idempotent method and can and should be called from any offline methods that require plotly.js to be loaded into the notebook dom.
def init_notebook_mode(connected=False): """ Initialize plotly.js in the browser if it hasn't been loaded into the DOM yet. This is an idempotent method and can and should be called from any offline methods that require plotly.js to be loaded into the notebook dom. Keyword arguments: connected...
[ "def", "init_notebook_mode", "(", "connected", "=", "False", ")", ":", "import", "plotly", ".", "io", "as", "pio", "ipython", "=", "get_module", "(", "\"IPython\"", ")", "if", "not", "ipython", ":", "raise", "ImportError", "(", "\"`iplot` can only run inside an ...
[ 252, 0 ]
[ 291, 47 ]
python
en
['en', 'error', 'th']
False
iplot
( figure_or_data, show_link=False, link_text="Export to plot.ly", validate=True, image=None, filename="plot_image", image_width=800, image_height=600, config=None, auto_play=True, animation_opts=None, )
Draw plotly graphs inside an IPython or Jupyter notebook figure_or_data -- a plotly.graph_objs.Figure or plotly.graph_objs.Data or dict or list that describes a Plotly graph. See https://plot.ly/python/ for examples of graph descriptions. ...
Draw plotly graphs inside an IPython or Jupyter notebook
def iplot( figure_or_data, show_link=False, link_text="Export to plot.ly", validate=True, image=None, filename="plot_image", image_width=800, image_height=600, config=None, auto_play=True, animation_opts=None, ): """ Draw plotly graphs inside an IPython or Jupyter not...
[ "def", "iplot", "(", "figure_or_data", ",", "show_link", "=", "False", ",", "link_text", "=", "\"Export to plot.ly\"", ",", "validate", "=", "True", ",", "image", "=", "None", ",", "filename", "=", "\"plot_image\"", ",", "image_width", "=", "800", ",", "imag...
[ 294, 0 ]
[ 398, 5 ]
python
en
['en', 'error', 'th']
False
plot
( figure_or_data, show_link=False, link_text="Export to plot.ly", validate=True, output_type="file", include_plotlyjs=True, filename="temp-plot.html", auto_open=True, image=None, image_filename="plot_image", image_width=800, image_height=600, config=None, include_...
Create a plotly graph locally as an HTML document or string. Example: ``` from plotly.offline import plot import plotly.graph_objs as go plot([go.Scatter(x=[1, 2, 3], y=[3, 2, 6])], filename='my-graph.html') # We can also download an image of the plot by setting the image parameter # to t...
Create a plotly graph locally as an HTML document or string.
def plot( figure_or_data, show_link=False, link_text="Export to plot.ly", validate=True, output_type="file", include_plotlyjs=True, filename="temp-plot.html", auto_open=True, image=None, image_filename="plot_image", image_width=800, image_height=600, config=None, ...
[ "def", "plot", "(", "figure_or_data", ",", "show_link", "=", "False", ",", "link_text", "=", "\"Export to plot.ly\"", ",", "validate", "=", "True", ",", "output_type", "=", "\"file\"", ",", "include_plotlyjs", "=", "True", ",", "filename", "=", "\"temp-plot.html...
[ 401, 0 ]
[ 610, 9 ]
python
en
['en', 'en', 'en']
True
plot_mpl
( mpl_fig, resize=False, strip_style=False, verbose=False, show_link=False, link_text="Export to plot.ly", validate=True, output_type="file", include_plotlyjs=True, filename="temp-plot.html", auto_open=True, image=None, image_filename="plot_image", image_height=60...
Convert a matplotlib figure to a Plotly graph stored locally as HTML. For more information on converting matplotlib visualizations to plotly graphs, call help(plotly.tools.mpl_to_plotly) For more information on creating plotly charts locally as an HTML document or string, call help(plotly.offline...
Convert a matplotlib figure to a Plotly graph stored locally as HTML.
def plot_mpl( mpl_fig, resize=False, strip_style=False, verbose=False, show_link=False, link_text="Export to plot.ly", validate=True, output_type="file", include_plotlyjs=True, filename="temp-plot.html", auto_open=True, image=None, image_filename="plot_image", ima...
[ "def", "plot_mpl", "(", "mpl_fig", ",", "resize", "=", "False", ",", "strip_style", "=", "False", ",", "verbose", "=", "False", ",", "show_link", "=", "False", ",", "link_text", "=", "\"Export to plot.ly\"", ",", "validate", "=", "True", ",", "output_type", ...
[ 613, 0 ]
[ 713, 5 ]
python
en
['en', 'error', 'th']
False
iplot_mpl
( mpl_fig, resize=False, strip_style=False, verbose=False, show_link=False, link_text="Export to plot.ly", validate=True, image=None, image_filename="plot_image", image_height=600, image_width=800, )
Convert a matplotlib figure to a plotly graph and plot inside an IPython notebook without connecting to an external server. To save the chart to Plotly Cloud or Plotly Enterprise, use `plotly.plotly.plot_mpl`. For more information on converting matplotlib visualizations to plotly graphs call ...
Convert a matplotlib figure to a plotly graph and plot inside an IPython notebook without connecting to an external server.
def iplot_mpl( mpl_fig, resize=False, strip_style=False, verbose=False, show_link=False, link_text="Export to plot.ly", validate=True, image=None, image_filename="plot_image", image_height=600, image_width=800, ): """ Convert a matplotlib figure to a plotly graph and ...
[ "def", "iplot_mpl", "(", "mpl_fig", ",", "resize", "=", "False", ",", "strip_style", "=", "False", ",", "verbose", "=", "False", ",", "show_link", "=", "False", ",", "link_text", "=", "\"Export to plot.ly\"", ",", "validate", "=", "True", ",", "image", "="...
[ 716, 0 ]
[ 792, 5 ]
python
en
['en', 'error', 'th']
False
enable_mpl_offline
( resize=False, strip_style=False, verbose=False, show_link=False, link_text="Export to plot.ly", validate=True, )
Convert mpl plots to locally hosted HTML documents. This function should be used with the inline matplotlib backend that ships with IPython that can be enabled with `%pylab inline` or `%matplotlib inline`. This works by adding an HTML formatter for Figure objects; the existing SVG/PNG formatters w...
Convert mpl plots to locally hosted HTML documents.
def enable_mpl_offline( resize=False, strip_style=False, verbose=False, show_link=False, link_text="Export to plot.ly", validate=True, ): """ Convert mpl plots to locally hosted HTML documents. This function should be used with the inline matplotlib backend that ships with IPyth...
[ "def", "enable_mpl_offline", "(", "resize", "=", "False", ",", "strip_style", "=", "False", ",", "verbose", "=", "False", ",", "show_link", "=", "False", ",", "link_text", "=", "\"Export to plot.ly\"", ",", "validate", "=", "True", ",", ")", ":", "init_noteb...
[ 795, 0 ]
[ 839, 5 ]
python
en
['en', 'error', 'th']
False
Textfont.color
(self)
Sets the text font color of unselected points, applied only when a selection exists. The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)...
Sets the text font color of unselected points, applied only when a selection exists. The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)...
def color(self): """ Sets the text font color of unselected points, applied only when a selection exists. The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla s...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 15, 4 ]
[ 66, 28 ]
python
en
['en', 'error', 'th']
False
Textfont.__init__
(self, arg=None, color=None, **kwargs)
Construct a new Textfont object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatterternary .unselected.Textfont` color Sets the text font color ...
Construct a new Textfont object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatterternary .unselected.Textfont` color Sets the text font color ...
def __init__(self, arg=None, color=None, **kwargs): """ Construct a new Textfont object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatterternary .unselecte...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Textfont", ",", "self", ")", ".", "__init__", "(", "\"textfont\"", ")", "if", "\"_parent\"", "in", "kwargs", ":", ...
[ 82, 4 ]
[ 140, 34 ]
python
en
['en', 'error', 'th']
False
TemplateFunction.convert
(self, adapter, **kwargs)
Converts template into function which checks permissions and validation before executing
Converts template into function which checks permissions and validation before executing
def convert(self, adapter, **kwargs): """Converts template into function which checks permissions and validation before executing""" def fn(*args, **kwargs): self.permissions_hook(*args, **kwargs) self.validation_hook(*args, **kwargs) result = self.main_hook(*args, **...
[ "def", "convert", "(", "self", ",", "adapter", ",", "*", "*", "kwargs", ")", ":", "def", "fn", "(", "*", "args", ",", "*", "*", "kwargs", ")", ":", "self", ".", "permissions_hook", "(", "*", "args", ",", "*", "*", "kwargs", ")", "self", ".", "v...
[ 30, 4 ]
[ 41, 52 ]
python
en
['en', 'en', 'en']
True
Tickfont.color
(self)
The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - A named CSS color: ...
The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - A named CSS color: ...
def color(self): """ The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - A name...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 15, 4 ]
[ 63, 28 ]
python
en
['en', 'error', 'th']
False