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
BotAdminCog.add_to_blacklist
(self, ctx, user: discord.Member)
Adds a User to the Bots Blacklist. The User will not be able to trigger the bot as long as he is on the Blacklist. Best to use user-id as the parameter. Args: user (discord.Member): A discord User of the Guild. Input can be name or Id, but best to use Id. Example: ...
Adds a User to the Bots Blacklist.
async def add_to_blacklist(self, ctx, user: discord.Member): """ Adds a User to the Bots Blacklist. The User will not be able to trigger the bot as long as he is on the Blacklist. Best to use user-id as the parameter. Args: user (discord.Member): A discord User of the Guild...
[ "async", "def", "add_to_blacklist", "(", "self", ",", "ctx", ",", "user", ":", "discord", ".", "Member", ")", ":", "if", "user", ".", "bot", "is", "True", ":", "# TODO: make as embed", "await", "ctx", ".", "send", "(", "\"the user you are trying to add is a **...
[ 319, 4 ]
[ 339, 78 ]
python
en
['en', 'error', 'th']
False
BotAdminCog.remove_from_blacklist
(self, ctx, user: discord.Member)
Removes a User from the Blacklist. Best to use user-id as the parameter. Args: user (discord.Member): A discord User of the Guild. Input can be name or Id, but best to use Id. Example: @AntiPetros remove_from_blacklist 576522029470056450
Removes a User from the Blacklist.
async def remove_from_blacklist(self, ctx, user: discord.Member): """ Removes a User from the Blacklist. Best to use user-id as the parameter. Args: user (discord.Member): A discord User of the Guild. Input can be name or Id, but best to use Id. Example: ...
[ "async", "def", "remove_from_blacklist", "(", "self", ",", "ctx", ",", "user", ":", "discord", ".", "Member", ")", ":", "await", "self", ".", "bot", ".", "unblacklist_user", "(", "user", ")", "await", "ctx", ".", "send", "(", "f\"I have unblacklisted user {u...
[ 344, 4 ]
[ 358, 64 ]
python
en
['en', 'error', 'th']
False
BotAdminCog.send_log_file
(self, ctx: commands.Context, which_logs: str = 'newest')
Gets the log files of the bot and post it as a file to discord. You can choose to only get the newest or all logs. Args: which_logs (str, optional): [description]. Defaults to 'newest'. other options = 'all' Example: @AntiPetros send_log_file all
Gets the log files of the bot and post it as a file to discord.
async def send_log_file(self, ctx: commands.Context, which_logs: str = 'newest'): """ Gets the log files of the bot and post it as a file to discord. You can choose to only get the newest or all logs. Args: which_logs (str, optional): [description]. Defaults to 'newest'. ot...
[ "async", "def", "send_log_file", "(", "self", ",", "ctx", ":", "commands", ".", "Context", ",", "which_logs", ":", "str", "=", "'newest'", ")", ":", "log_folder", "=", "APPDATA", ".", "log_folder", "all_log_files", "=", "[", "]", "async", "with", "ctx", ...
[ 362, 4 ]
[ 399, 123 ]
python
en
['en', 'error', 'th']
False
BotAdminCog.disable_cog
(self, ctx: commands.Context, cog: CogConverter)
Unloads a specific Cog. This disables all functionality and all backgroundtasks associated with that Cog. It also sets the config to not load the cog, so it does not get reloaded on accident. Args: cog (CogConverter): Name of the Cog, case-INsensitive. prefix `Cog` is optional. ...
Unloads a specific Cog.
async def disable_cog(self, ctx: commands.Context, cog: CogConverter): """ Unloads a specific Cog. This disables all functionality and all backgroundtasks associated with that Cog. It also sets the config to not load the cog, so it does not get reloaded on accident. Args: c...
[ "async", "def", "disable_cog", "(", "self", ",", "ctx", ":", "commands", ".", "Context", ",", "cog", ":", "CogConverter", ")", ":", "name", "=", "cog", ".", "qualified_name", "await", "ctx", ".", "send", "(", "f\"Trying to disable Cog `{name}`\"", ")", "self...
[ 403, 4 ]
[ 423, 81 ]
python
en
['en', 'error', 'th']
False
BotAdminCog.current_cogs
(self, ctx: commands.Context)
Gives a List of all currently active and loaded Cogs. Example: @AntiPetros current_cogs
Gives a List of all currently active and loaded Cogs.
async def current_cogs(self, ctx: commands.Context): """ Gives a List of all currently active and loaded Cogs. Example: @AntiPetros current_cogs """ text = "" for cog_name, cog_object in self.bot.cogs.items(): text += f"NAME: {cog_name}, CONFIG_NA...
[ "async", "def", "current_cogs", "(", "self", ",", "ctx", ":", "commands", ".", "Context", ")", ":", "text", "=", "\"\"", "for", "cog_name", ",", "cog_object", "in", "self", ".", "bot", ".", "cogs", ".", "items", "(", ")", ":", "text", "+=", "f\"NAME:...
[ 427, 4 ]
[ 437, 97 ]
python
en
['en', 'error', 'th']
False
Labelfont.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
Labelfont.family
(self)
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts ...
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts ...
def family(self): """ HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the prefer...
[ "def", "family", "(", "self", ")", ":", "return", "self", "[", "\"family\"", "]" ]
[ 72, 4 ]
[ 94, 29 ]
python
en
['en', 'error', 'th']
False
Labelfont.size
(self)
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] Returns ------- int|float
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf]
def size(self): """ The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] Returns ------- int|float """ return self["size"]
[ "def", "size", "(", "self", ")", ":", "return", "self", "[", "\"size\"", "]" ]
[ 103, 4 ]
[ 112, 27 ]
python
en
['en', 'error', 'th']
False
Labelfont.__init__
(self, arg=None, color=None, family=None, size=None, **kwargs)
Construct a new Labelfont object Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. Parameters ---------- arg dict of properties compatib...
Construct a new Labelfont object Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`.
def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): """ Construct a new Labelfont object Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "family", "=", "None", ",", "size", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Labelfont", ",", "self", ")", ".", "__init__", "(", "\"lab...
[ 143, 4 ]
[ 228, 34 ]
python
en
['en', 'error', 'th']
False
Font.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 ]
[ 64, 28 ]
python
en
['en', 'error', 'th']
False
Font.colorsrc
(self)
Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' 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 color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def colorsrc(self): """ Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["colorsrc"]
[ "def", "colorsrc", "(", "self", ")", ":", "return", "self", "[", "\"colorsrc\"", "]" ]
[ 73, 4 ]
[ 84, 31 ]
python
en
['en', 'error', 'th']
False
Font.family
(self)
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts ...
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts ...
def family(self): """ HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the prefer...
[ "def", "family", "(", "self", ")", ":", "return", "self", "[", "\"family\"", "]" ]
[ 93, 4 ]
[ 116, 29 ]
python
en
['en', 'error', 'th']
False
Font.familysrc
(self)
Sets the source reference on Chart Studio Cloud for family . The 'familysrc' 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 family . The 'familysrc' property must be specified as a string or as a plotly.grid_objs.Column object
def familysrc(self): """ Sets the source reference on Chart Studio Cloud for family . The 'familysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["familysrc"]
[ "def", "familysrc", "(", "self", ")", ":", "return", "self", "[", "\"familysrc\"", "]" ]
[ 125, 4 ]
[ 136, 32 ]
python
en
['en', 'error', 'th']
False
Font.size
(self)
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.ndarray
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] - A tuple, list, or one-dimensional numpy array of the above
def size(self): """ The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.ndarray """ return self["size"...
[ "def", "size", "(", "self", ")", ":", "return", "self", "[", "\"size\"", "]" ]
[ 145, 4 ]
[ 155, 27 ]
python
en
['en', 'error', 'th']
False
Font.sizesrc
(self)
Sets the source reference on Chart Studio Cloud for size . The 'sizesrc' 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 size . The 'sizesrc' property must be specified as a string or as a plotly.grid_objs.Column object
def sizesrc(self): """ Sets the source reference on Chart Studio Cloud for size . The 'sizesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["sizesrc"]
[ "def", "sizesrc", "(", "self", ")", ":", "return", "self", "[", "\"sizesrc\"", "]" ]
[ 164, 4 ]
[ 175, 30 ]
python
en
['en', 'error', 'th']
False
Font.__init__
( self, arg=None, color=None, colorsrc=None, family=None, familysrc=None, size=None, sizesrc=None, **kwargs )
Construct a new Font object Sets the font used in hover labels. Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.heatmapgl.hoverlabel.Font` color ...
Construct a new Font object Sets the font used in hover labels.
def __init__( self, arg=None, color=None, colorsrc=None, family=None, familysrc=None, size=None, sizesrc=None, **kwargs ): """ Construct a new Font object Sets the font used in hover labels. Parameters ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "colorsrc", "=", "None", ",", "family", "=", "None", ",", "familysrc", "=", "None", ",", "size", "=", "None", ",", "sizesrc", "=", "None", ",", "*", "*", "kw...
[ 215, 4 ]
[ 329, 34 ]
python
en
['en', 'error', 'th']
False
RadialAxis.domain
(self)
Polar chart subplots are not supported yet. This key has currently no effect. The 'domain' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'domain[0]' property is a number and may be specified as: - An int or flo...
Polar chart subplots are not supported yet. This key has currently no effect. The 'domain' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'domain[0]' property is a number and may be specified as: - An int or flo...
def domain(self): """ Polar chart subplots are not supported yet. This key has currently no effect. The 'domain' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'domain[0]' property is a number and may be specified ...
[ "def", "domain", "(", "self", ")", ":", "return", "self", "[", "\"domain\"", "]" ]
[ 27, 4 ]
[ 44, 29 ]
python
en
['en', 'error', 'th']
False
RadialAxis.endpadding
(self)
Legacy polar charts are deprecated! Please switch to "polar" subplots. The 'endpadding' property is a number and may be specified as: - An int or float Returns ------- int|float
Legacy polar charts are deprecated! Please switch to "polar" subplots. The 'endpadding' property is a number and may be specified as: - An int or float
def endpadding(self): """ Legacy polar charts are deprecated! Please switch to "polar" subplots. The 'endpadding' property is a number and may be specified as: - An int or float Returns ------- int|float """ return self["endpadding"...
[ "def", "endpadding", "(", "self", ")", ":", "return", "self", "[", "\"endpadding\"", "]" ]
[ 53, 4 ]
[ 65, 33 ]
python
en
['en', 'error', 'th']
False
RadialAxis.orientation
(self)
Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the orientation (an angle with respect to the origin) of the radial axis. The 'orientation' property is a number and may be specified as: - An int or float Returns ------- ...
Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the orientation (an angle with respect to the origin) of the radial axis. The 'orientation' property is a number and may be specified as: - An int or float
def orientation(self): """ Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the orientation (an angle with respect to the origin) of the radial axis. The 'orientation' property is a number and may be specified as: - An int or float ...
[ "def", "orientation", "(", "self", ")", ":", "return", "self", "[", "\"orientation\"", "]" ]
[ 74, 4 ]
[ 87, 34 ]
python
en
['en', 'error', 'th']
False
RadialAxis.range
(self)
Legacy polar charts are deprecated! Please switch to "polar" subplots. Defines the start and end point of this radial axis. The 'range' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'range[0]' property is a number and ma...
Legacy polar charts are deprecated! Please switch to "polar" subplots. Defines the start and end point of this radial axis. The 'range' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'range[0]' property is a number and ma...
def range(self): """ Legacy polar charts are deprecated! Please switch to "polar" subplots. Defines the start and end point of this radial axis. The 'range' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'range[0]'...
[ "def", "range", "(", "self", ")", ":", "return", "self", "[", "\"range\"", "]" ]
[ 96, 4 ]
[ 113, 28 ]
python
en
['en', 'error', 'th']
False
RadialAxis.showline
(self)
Legacy polar charts are deprecated! Please switch to "polar" subplots. Determines whether or not the line bounding this radial axis will be shown on the figure. The 'showline' property must be specified as a bool (either True, or False) Returns ------- ...
Legacy polar charts are deprecated! Please switch to "polar" subplots. Determines whether or not the line bounding this radial axis will be shown on the figure. The 'showline' property must be specified as a bool (either True, or False)
def showline(self): """ Legacy polar charts are deprecated! Please switch to "polar" subplots. Determines whether or not the line bounding this radial axis will be shown on the figure. The 'showline' property must be specified as a bool (either True, or False) ...
[ "def", "showline", "(", "self", ")", ":", "return", "self", "[", "\"showline\"", "]" ]
[ 122, 4 ]
[ 135, 31 ]
python
en
['en', 'error', 'th']
False
RadialAxis.showticklabels
(self)
Legacy polar charts are deprecated! Please switch to "polar" subplots. Determines whether or not the radial axis ticks will feature tick labels. The 'showticklabels' property must be specified as a bool (either True, or False) Returns ------- bool ...
Legacy polar charts are deprecated! Please switch to "polar" subplots. Determines whether or not the radial axis ticks will feature tick labels. The 'showticklabels' property must be specified as a bool (either True, or False)
def showticklabels(self): """ Legacy polar charts are deprecated! Please switch to "polar" subplots. Determines whether or not the radial axis ticks will feature tick labels. The 'showticklabels' property must be specified as a bool (either True, or False) R...
[ "def", "showticklabels", "(", "self", ")", ":", "return", "self", "[", "\"showticklabels\"", "]" ]
[ 144, 4 ]
[ 157, 37 ]
python
en
['en', 'error', 'th']
False
RadialAxis.tickcolor
(self)
Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the color of the tick lines on this radial axis. The 'tickcolor' 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)') ...
Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the color of the tick lines on this radial axis. The 'tickcolor' 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)') ...
def tickcolor(self): """ Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the color of the tick lines on this radial axis. The 'tickcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string...
[ "def", "tickcolor", "(", "self", ")", ":", "return", "self", "[", "\"tickcolor\"", "]" ]
[ 166, 4 ]
[ 217, 32 ]
python
en
['en', 'error', 'th']
False
RadialAxis.ticklen
(self)
Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the length of the tick lines on this radial axis. The 'ticklen' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- in...
Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the length of the tick lines on this radial axis. The 'ticklen' property is a number and may be specified as: - An int or float in the interval [0, inf]
def ticklen(self): """ Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the length of the tick lines on this radial axis. The 'ticklen' property is a number and may be specified as: - An int or float in the interval [0, inf] Retu...
[ "def", "ticklen", "(", "self", ")", ":", "return", "self", "[", "\"ticklen\"", "]" ]
[ 226, 4 ]
[ 239, 30 ]
python
en
['en', 'error', 'th']
False
RadialAxis.tickorientation
(self)
Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the orientation (from the paper perspective) of the radial axis tick labels. The 'tickorientation' property is an enumeration that may be specified as: - One of the following enumeration values: ...
Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the orientation (from the paper perspective) of the radial axis tick labels. The 'tickorientation' property is an enumeration that may be specified as: - One of the following enumeration values: ...
def tickorientation(self): """ Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the orientation (from the paper perspective) of the radial axis tick labels. The 'tickorientation' property is an enumeration that may be specified as: - One ...
[ "def", "tickorientation", "(", "self", ")", ":", "return", "self", "[", "\"tickorientation\"", "]" ]
[ 248, 4 ]
[ 262, 38 ]
python
en
['en', 'error', 'th']
False
RadialAxis.ticksuffix
(self)
Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the length of the tick lines on this radial axis. The 'ticksuffix' property is a string and must be specified as: - A string - A number that will be converted to a string Return...
Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the length of the tick lines on this radial axis. The 'ticksuffix' property is a string and must be specified as: - A string - A number that will be converted to a string
def ticksuffix(self): """ Legacy polar charts are deprecated! Please switch to "polar" subplots. Sets the length of the tick lines on this radial axis. The 'ticksuffix' property is a string and must be specified as: - A string - A number that will be conv...
[ "def", "ticksuffix", "(", "self", ")", ":", "return", "self", "[", "\"ticksuffix\"", "]" ]
[ 271, 4 ]
[ 285, 33 ]
python
en
['en', 'error', 'th']
False
RadialAxis.visible
(self)
Legacy polar charts are deprecated! Please switch to "polar" subplots. Determines whether or not this axis will be visible. The 'visible' property must be specified as a bool (either True, or False) Returns ------- bool
Legacy polar charts are deprecated! Please switch to "polar" subplots. Determines whether or not this axis will be visible. The 'visible' property must be specified as a bool (either True, or False)
def visible(self): """ Legacy polar charts are deprecated! Please switch to "polar" subplots. Determines whether or not this axis will be visible. The 'visible' property must be specified as a bool (either True, or False) Returns ------- bool ...
[ "def", "visible", "(", "self", ")", ":", "return", "self", "[", "\"visible\"", "]" ]
[ 294, 4 ]
[ 306, 30 ]
python
en
['en', 'error', 'th']
False
RadialAxis.__init__
( self, arg=None, domain=None, endpadding=None, orientation=None, range=None, showline=None, showticklabels=None, tickcolor=None, ticklen=None, tickorientation=None, ticksuffix=None, visible=None, **kwargs ...
Construct a new RadialAxis object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.RadialAxis` domain Polar chart subplots are not supported y...
Construct a new RadialAxis object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.RadialAxis` domain Polar chart subplots are not supported y...
def __init__( self, arg=None, domain=None, endpadding=None, orientation=None, range=None, showline=None, showticklabels=None, tickcolor=None, ticklen=None, tickorientation=None, ticksuffix=None, visible=None, ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "domain", "=", "None", ",", "endpadding", "=", "None", ",", "orientation", "=", "None", ",", "range", "=", "None", ",", "showline", "=", "None", ",", "showticklabels", "=", "None", ",", "t...
[ 361, 4 ]
[ 513, 34 ]
python
en
['en', 'error', 'th']
False
BaseInstance3DBoxes.volume
(self)
torch.Tensor: A vector with volume of each box.
torch.Tensor: A vector with volume of each box.
def volume(self): """torch.Tensor: A vector with volume of each box.""" return self.tensor[:, 3] * self.tensor[:, 4] * self.tensor[:, 5]
[ "def", "volume", "(", "self", ")", ":", "return", "self", ".", "tensor", "[", ":", ",", "3", "]", "*", "self", ".", "tensor", "[", ":", ",", "4", "]", "*", "self", ".", "tensor", "[", ":", ",", "5", "]" ]
[ 67, 4 ]
[ 69, 72 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.dims
(self)
torch.Tensor: Corners of each box with size (N, 8, 3).
torch.Tensor: Corners of each box with size (N, 8, 3).
def dims(self): """torch.Tensor: Corners of each box with size (N, 8, 3).""" return self.tensor[:, 3:6]
[ "def", "dims", "(", "self", ")", ":", "return", "self", ".", "tensor", "[", ":", ",", "3", ":", "6", "]" ]
[ 72, 4 ]
[ 74, 34 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.yaw
(self)
torch.Tensor: A vector with yaw of each box.
torch.Tensor: A vector with yaw of each box.
def yaw(self): """torch.Tensor: A vector with yaw of each box.""" return self.tensor[:, 6]
[ "def", "yaw", "(", "self", ")", ":", "return", "self", ".", "tensor", "[", ":", ",", "6", "]" ]
[ 77, 4 ]
[ 79, 32 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.height
(self)
torch.Tensor: A vector with height of each box.
torch.Tensor: A vector with height of each box.
def height(self): """torch.Tensor: A vector with height of each box.""" return self.tensor[:, 5]
[ "def", "height", "(", "self", ")", ":", "return", "self", ".", "tensor", "[", ":", ",", "5", "]" ]
[ 82, 4 ]
[ 84, 32 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.top_height
(self)
torch.Tensor: A vector with the top height of each box.
torch.Tensor: A vector with the top height of each box.
def top_height(self): """torch.Tensor: A vector with the top height of each box.""" return self.bottom_height + self.height
[ "def", "top_height", "(", "self", ")", ":", "return", "self", ".", "bottom_height", "+", "self", ".", "height" ]
[ 87, 4 ]
[ 89, 47 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.bottom_height
(self)
torch.Tensor: A vector with bottom's height of each box.
torch.Tensor: A vector with bottom's height of each box.
def bottom_height(self): """torch.Tensor: A vector with bottom's height of each box.""" return self.tensor[:, 2]
[ "def", "bottom_height", "(", "self", ")", ":", "return", "self", ".", "tensor", "[", ":", ",", "2", "]" ]
[ 92, 4 ]
[ 94, 32 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.center
(self)
Calculate the center of all the boxes. Note: In the MMDetection3D's convention, the bottom center is usually taken as the default center. The relative position of the centers in different kinds of boxes are different, e.g., the relative center of a boxes is ...
Calculate the center of all the boxes.
def center(self): """Calculate the center of all the boxes. Note: In the MMDetection3D's convention, the bottom center is usually taken as the default center. The relative position of the centers in different kinds of boxes are different, e.g., the relat...
[ "def", "center", "(", "self", ")", ":", "return", "self", ".", "bottom_center" ]
[ 97, 4 ]
[ 113, 33 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.bottom_center
(self)
torch.Tensor: A tensor with center of each box.
torch.Tensor: A tensor with center of each box.
def bottom_center(self): """torch.Tensor: A tensor with center of each box.""" return self.tensor[:, :3]
[ "def", "bottom_center", "(", "self", ")", ":", "return", "self", ".", "tensor", "[", ":", ",", ":", "3", "]" ]
[ 116, 4 ]
[ 118, 33 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.gravity_center
(self)
torch.Tensor: A tensor with center of each box.
torch.Tensor: A tensor with center of each box.
def gravity_center(self): """torch.Tensor: A tensor with center of each box.""" pass
[ "def", "gravity_center", "(", "self", ")", ":", "pass" ]
[ 121, 4 ]
[ 123, 12 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.corners
(self)
torch.Tensor: a tensor with 8 corners of each box.
torch.Tensor: a tensor with 8 corners of each box.
def corners(self): """torch.Tensor: a tensor with 8 corners of each box.""" pass
[ "def", "corners", "(", "self", ")", ":", "pass" ]
[ 126, 4 ]
[ 128, 12 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.rotate
(self, angles, axis=0)
Calculate whether the points are in any of the boxes. Args: angles (float): Rotation angles. axis (int): The axis to rotate the boxes.
Calculate whether the points are in any of the boxes.
def rotate(self, angles, axis=0): """Calculate whether the points are in any of the boxes. Args: angles (float): Rotation angles. axis (int): The axis to rotate the boxes. """ pass
[ "def", "rotate", "(", "self", ",", "angles", ",", "axis", "=", "0", ")", ":", "pass" ]
[ 131, 4 ]
[ 138, 12 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.flip
(self, bev_direction='horizontal')
Flip the boxes in BEV along given BEV direction.
Flip the boxes in BEV along given BEV direction.
def flip(self, bev_direction='horizontal'): """Flip the boxes in BEV along given BEV direction.""" pass
[ "def", "flip", "(", "self", ",", "bev_direction", "=", "'horizontal'", ")", ":", "pass" ]
[ 141, 4 ]
[ 143, 12 ]
python
en
['en', 'da', 'en']
True
BaseInstance3DBoxes.translate
(self, trans_vector)
Calculate whether the points are in any of the boxes. Args: trans_vector (torch.Tensor): Translation vector of size 1x3.
Calculate whether the points are in any of the boxes.
def translate(self, trans_vector): """Calculate whether the points are in any of the boxes. Args: trans_vector (torch.Tensor): Translation vector of size 1x3. """ if not isinstance(trans_vector, torch.Tensor): trans_vector = self.tensor.new_tensor(trans_vector) ...
[ "def", "translate", "(", "self", ",", "trans_vector", ")", ":", "if", "not", "isinstance", "(", "trans_vector", ",", "torch", ".", "Tensor", ")", ":", "trans_vector", "=", "self", ".", "tensor", ".", "new_tensor", "(", "trans_vector", ")", "self", ".", "...
[ 145, 4 ]
[ 153, 42 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.in_range_3d
(self, box_range)
Check whether the boxes are in the given range. Args: box_range (list | torch.Tensor): The range of box (x_min, y_min, z_min, x_max, y_max, z_max) Note: In the original implementation of SECOND, checking whether a box in the range checks whether the ...
Check whether the boxes are in the given range.
def in_range_3d(self, box_range): """Check whether the boxes are in the given range. Args: box_range (list | torch.Tensor): The range of box (x_min, y_min, z_min, x_max, y_max, z_max) Note: In the original implementation of SECOND, checking whether ...
[ "def", "in_range_3d", "(", "self", ",", "box_range", ")", ":", "in_range_flags", "=", "(", "(", "self", ".", "tensor", "[", ":", ",", "0", "]", ">", "box_range", "[", "0", "]", ")", "&", "(", "self", ".", "tensor", "[", ":", ",", "1", "]", ">",...
[ 155, 4 ]
[ 177, 29 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.in_range_bev
(self, box_range)
Check whether the boxes are in the given range. Args: box_range (list | torch.Tensor): The range of box in order of (x_min, y_min, x_max, y_max). Returns: torch.Tensor: Indicating whether each box is inside \ the reference range.
Check whether the boxes are in the given range.
def in_range_bev(self, box_range): """Check whether the boxes are in the given range. Args: box_range (list | torch.Tensor): The range of box in order of (x_min, y_min, x_max, y_max). Returns: torch.Tensor: Indicating whether each box is inside \ ...
[ "def", "in_range_bev", "(", "self", ",", "box_range", ")", ":", "pass" ]
[ 180, 4 ]
[ 191, 12 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.convert_to
(self, dst, rt_mat=None)
Convert self to ``dst`` mode. Args: dst (:obj:`BoxMode`): The target Box mode. rt_mat (np.ndarray | torch.Tensor): The rotation and translation matrix between different coordinates. Defaults to None. The conversion from `src` coordinates to `dst` coordina...
Convert self to ``dst`` mode.
def convert_to(self, dst, rt_mat=None): """Convert self to ``dst`` mode. Args: dst (:obj:`BoxMode`): The target Box mode. rt_mat (np.ndarray | torch.Tensor): The rotation and translation matrix between different coordinates. Defaults to None. The ...
[ "def", "convert_to", "(", "self", ",", "dst", ",", "rt_mat", "=", "None", ")", ":", "pass" ]
[ 194, 4 ]
[ 209, 12 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.scale
(self, scale_factor)
Scale the box with horizontal and vertical scaling factors. Args: scale_factors (float): Scale factors to scale the boxes.
Scale the box with horizontal and vertical scaling factors.
def scale(self, scale_factor): """Scale the box with horizontal and vertical scaling factors. Args: scale_factors (float): Scale factors to scale the boxes. """ self.tensor[:, :6] *= scale_factor self.tensor[:, 7:] *= scale_factor
[ "def", "scale", "(", "self", ",", "scale_factor", ")", ":", "self", ".", "tensor", "[", ":", ",", ":", "6", "]", "*=", "scale_factor", "self", ".", "tensor", "[", ":", ",", "7", ":", "]", "*=", "scale_factor" ]
[ 211, 4 ]
[ 218, 42 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.limit_yaw
(self, offset=0.5, period=np.pi)
Limit the yaw to a given period and offset. Args: offset (float): The offset of the yaw. period (float): The expected period.
Limit the yaw to a given period and offset.
def limit_yaw(self, offset=0.5, period=np.pi): """Limit the yaw to a given period and offset. Args: offset (float): The offset of the yaw. period (float): The expected period. """ self.tensor[:, 6] = limit_period(self.tensor[:, 6], offset, period)
[ "def", "limit_yaw", "(", "self", ",", "offset", "=", "0.5", ",", "period", "=", "np", ".", "pi", ")", ":", "self", ".", "tensor", "[", ":", ",", "6", "]", "=", "limit_period", "(", "self", ".", "tensor", "[", ":", ",", "6", "]", ",", "offset", ...
[ 220, 4 ]
[ 227, 75 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.nonempty
(self, threshold: float = 0.0)
Find boxes that are non-empty. A box is considered empty, if either of its side is no larger than threshold. Args: threshold (float): The threshold of minimal sizes. Returns: torch.Tensor: A binary vector which represents whether each \ box is e...
Find boxes that are non-empty.
def nonempty(self, threshold: float = 0.0): """Find boxes that are non-empty. A box is considered empty, if either of its side is no larger than threshold. Args: threshold (float): The threshold of minimal sizes. Returns: torch.Tensor: A binary vector w...
[ "def", "nonempty", "(", "self", ",", "threshold", ":", "float", "=", "0.0", ")", ":", "box", "=", "self", ".", "tensor", "size_x", "=", "box", "[", "...", ",", "3", "]", "size_y", "=", "box", "[", "...", ",", "4", "]", "size_z", "=", "box", "["...
[ 229, 4 ]
[ 248, 19 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.__getitem__
(self, item)
Note: The following usage are allowed: 1. `new_boxes = boxes[3]`: return a `Boxes` that contains only one box. 2. `new_boxes = boxes[2:10]`: return a slice of boxes. 3. `new_boxes = boxes[vector]`: where vector is a...
Note: The following usage are allowed: 1. `new_boxes = boxes[3]`: return a `Boxes` that contains only one box. 2. `new_boxes = boxes[2:10]`: return a slice of boxes. 3. `new_boxes = boxes[vector]`: where vector is a...
def __getitem__(self, item): """ Note: The following usage are allowed: 1. `new_boxes = boxes[3]`: return a `Boxes` that contains only one box. 2. `new_boxes = boxes[2:10]`: return a slice of boxes. 3. `new_boxes = boxes[vec...
[ "def", "__getitem__", "(", "self", ",", "item", ")", ":", "original_type", "=", "type", "(", "self", ")", "if", "isinstance", "(", "item", ",", "int", ")", ":", "return", "original_type", "(", "self", ".", "tensor", "[", "item", "]", ".", "view", "("...
[ 250, 4 ]
[ 277, 77 ]
python
en
['en', 'error', 'th']
False
BaseInstance3DBoxes.__len__
(self)
int: Number of boxes in the current object.
int: Number of boxes in the current object.
def __len__(self): """int: Number of boxes in the current object.""" return self.tensor.shape[0]
[ "def", "__len__", "(", "self", ")", ":", "return", "self", ".", "tensor", ".", "shape", "[", "0", "]" ]
[ 279, 4 ]
[ 281, 35 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.__repr__
(self)
str: Return a strings that describes the object.
str: Return a strings that describes the object.
def __repr__(self): """str: Return a strings that describes the object.""" return self.__class__.__name__ + '(\n ' + str(self.tensor) + ')'
[ "def", "__repr__", "(", "self", ")", ":", "return", "self", ".", "__class__", ".", "__name__", "+", "'(\\n '", "+", "str", "(", "self", ".", "tensor", ")", "+", "')'" ]
[ 283, 4 ]
[ 285, 75 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.cat
(cls, boxes_list)
Concatenate a list of Boxes into a single Boxes. Args: boxes_list (list[:obj:`BaseInstances3DBoxes`]): List of boxes. Returns: :obj:`BaseInstances3DBoxes`: The concatenated Boxes.
Concatenate a list of Boxes into a single Boxes.
def cat(cls, boxes_list): """Concatenate a list of Boxes into a single Boxes. Args: boxes_list (list[:obj:`BaseInstances3DBoxes`]): List of boxes. Returns: :obj:`BaseInstances3DBoxes`: The concatenated Boxes. """ assert isinstance(boxes_list, (list, tupl...
[ "def", "cat", "(", "cls", ",", "boxes_list", ")", ":", "assert", "isinstance", "(", "boxes_list", ",", "(", "list", ",", "tuple", ")", ")", "if", "len", "(", "boxes_list", ")", "==", "0", ":", "return", "cls", "(", "torch", ".", "empty", "(", "0", ...
[ 288, 4 ]
[ 308, 24 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.to
(self, device)
Convert current boxes to a specific device. Args: device (str | :obj:`torch.device`): The name of the device. Returns: :obj:`BaseInstance3DBoxes`: A new boxes object on the \ specific device.
Convert current boxes to a specific device.
def to(self, device): """Convert current boxes to a specific device. Args: device (str | :obj:`torch.device`): The name of the device. Returns: :obj:`BaseInstance3DBoxes`: A new boxes object on the \ specific device. """ original_type = t...
[ "def", "to", "(", "self", ",", "device", ")", ":", "original_type", "=", "type", "(", "self", ")", "return", "original_type", "(", "self", ".", "tensor", ".", "to", "(", "device", ")", ",", "box_dim", "=", "self", ".", "box_dim", ",", "with_yaw", "="...
[ 310, 4 ]
[ 324, 35 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.clone
(self)
Clone the Boxes. Returns: :obj:`BaseInstance3DBoxes`: Box object with the same properties \ as self.
Clone the Boxes.
def clone(self): """Clone the Boxes. Returns: :obj:`BaseInstance3DBoxes`: Box object with the same properties \ as self. """ original_type = type(self) return original_type( self.tensor.clone(), box_dim=self.box_dim, with_yaw=self.with_yaw...
[ "def", "clone", "(", "self", ")", ":", "original_type", "=", "type", "(", "self", ")", "return", "original_type", "(", "self", ".", "tensor", ".", "clone", "(", ")", ",", "box_dim", "=", "self", ".", "box_dim", ",", "with_yaw", "=", "self", ".", "wit...
[ 326, 4 ]
[ 335, 78 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.device
(self)
str: The device of the boxes are on.
str: The device of the boxes are on.
def device(self): """str: The device of the boxes are on.""" return self.tensor.device
[ "def", "device", "(", "self", ")", ":", "return", "self", ".", "tensor", ".", "device" ]
[ 338, 4 ]
[ 340, 33 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.__iter__
(self)
Yield a box as a Tensor of shape (4,) at a time. Returns: torch.Tensor: A box of shape (4,).
Yield a box as a Tensor of shape (4,) at a time.
def __iter__(self): """Yield a box as a Tensor of shape (4,) at a time. Returns: torch.Tensor: A box of shape (4,). """ yield from self.tensor
[ "def", "__iter__", "(", "self", ")", ":", "yield", "from", "self", ".", "tensor" ]
[ 342, 4 ]
[ 348, 30 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.height_overlaps
(cls, boxes1, boxes2, mode='iou')
Calculate height overlaps of two boxes. Note: This function calculates the height overlaps between boxes1 and boxes2, boxes1 and boxes2 should be in the same type. Args: boxes1 (:obj:`BaseInstanceBoxes`): Boxes 1 contain N boxes. boxes2 (:obj:`BaseInsta...
Calculate height overlaps of two boxes.
def height_overlaps(cls, boxes1, boxes2, mode='iou'): """Calculate height overlaps of two boxes. Note: This function calculates the height overlaps between boxes1 and boxes2, boxes1 and boxes2 should be in the same type. Args: boxes1 (:obj:`BaseInstanceBoxe...
[ "def", "height_overlaps", "(", "cls", ",", "boxes1", ",", "boxes2", ",", "mode", "=", "'iou'", ")", ":", "assert", "isinstance", "(", "boxes1", ",", "BaseInstance3DBoxes", ")", "assert", "isinstance", "(", "boxes2", ",", "BaseInstance3DBoxes", ")", "assert", ...
[ 351, 4 ]
[ 380, 25 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.overlaps
(cls, boxes1, boxes2, mode='iou')
Calculate 3D overlaps of two boxes. Note: This function calculates the overlaps between ``boxes1`` and ``boxes2``, ``boxes1`` and ``boxes2`` should be in the same type. Args: boxes1 (:obj:`BaseInstanceBoxes`): Boxes 1 contain N boxes. boxes2 (:obj:`BaseI...
Calculate 3D overlaps of two boxes.
def overlaps(cls, boxes1, boxes2, mode='iou'): """Calculate 3D overlaps of two boxes. Note: This function calculates the overlaps between ``boxes1`` and ``boxes2``, ``boxes1`` and ``boxes2`` should be in the same type. Args: boxes1 (:obj:`BaseInstanceBoxes`)...
[ "def", "overlaps", "(", "cls", ",", "boxes1", ",", "boxes2", ",", "mode", "=", "'iou'", ")", ":", "assert", "isinstance", "(", "boxes1", ",", "BaseInstance3DBoxes", ")", "assert", "isinstance", "(", "boxes2", ",", "BaseInstance3DBoxes", ")", "assert", "type"...
[ 383, 4 ]
[ 437, 20 ]
python
en
['en', 'en', 'en']
True
BaseInstance3DBoxes.new_box
(self, data)
Create a new box object with data. The new box and its tensor has the similar properties \ as self and self.tensor, respectively. Args: data (torch.Tensor | numpy.array | list): Data to be copied. Returns: :obj:`BaseInstance3DBoxes`: A new bbox object with ...
Create a new box object with data.
def new_box(self, data): """Create a new box object with data. The new box and its tensor has the similar properties \ as self and self.tensor, respectively. Args: data (torch.Tensor | numpy.array | list): Data to be copied. Returns: :obj:`BaseInsta...
[ "def", "new_box", "(", "self", ",", "data", ")", ":", "new_tensor", "=", "self", ".", "tensor", ".", "new_tensor", "(", "data", ")", "if", "not", "isinstance", "(", "data", ",", "torch", ".", "Tensor", ")", "else", "data", ".", "to", "(", "self", "...
[ 439, 4 ]
[ 456, 69 ]
python
en
['en', 'en', 'en']
True
Image.colormodel
(self)
Color model used to map the numerical color components described in `z` into colors. The 'colormodel' property is an enumeration that may be specified as: - One of the following enumeration values: ['rgb', 'rgba', 'hsl', 'hsla'] Returns ------- ...
Color model used to map the numerical color components described in `z` into colors. The 'colormodel' property is an enumeration that may be specified as: - One of the following enumeration values: ['rgb', 'rgba', 'hsl', 'hsla']
def colormodel(self): """ Color model used to map the numerical color components described in `z` into colors. The 'colormodel' property is an enumeration that may be specified as: - One of the following enumeration values: ['rgb', 'rgba', 'hsl', 'hsla'] ...
[ "def", "colormodel", "(", "self", ")", ":", "return", "self", "[", "\"colormodel\"", "]" ]
[ 49, 4 ]
[ 62, 33 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 71, 4 ]
[ 85, 33 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 94, 4 ]
[ 106, 36 ]
python
en
['en', 'error', 'th']
False
Image.dx
(self)
Set the pixel's horizontal size. The 'dx' property is a number and may be specified as: - An int or float Returns ------- int|float
Set the pixel's horizontal size. The 'dx' property is a number and may be specified as: - An int or float
def dx(self): """ Set the pixel's horizontal size. The 'dx' property is a number and may be specified as: - An int or float Returns ------- int|float """ return self["dx"]
[ "def", "dx", "(", "self", ")", ":", "return", "self", "[", "\"dx\"", "]" ]
[ 115, 4 ]
[ 126, 25 ]
python
en
['en', 'error', 'th']
False
Image.dy
(self)
Set the pixel's vertical size The 'dy' property is a number and may be specified as: - An int or float Returns ------- int|float
Set the pixel's vertical size The 'dy' property is a number and may be specified as: - An int or float
def dy(self): """ Set the pixel's vertical size The 'dy' property is a number and may be specified as: - An int or float Returns ------- int|float """ return self["dy"]
[ "def", "dy", "(", "self", ")", ":", "return", "self", "[", "\"dy\"", "]" ]
[ 135, 4 ]
[ 146, 25 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 155, 4 ]
[ 172, 32 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 181, 4 ]
[ 193, 35 ]
python
en
['en', 'error', 'th']
False
Image.hoverlabel
(self)
The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.image.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor Supported dict properties:...
The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.image.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor Supported dict properties:...
def hoverlabel(self): """ The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.image.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor ...
[ "def", "hoverlabel", "(", "self", ")", ":", "return", "self", "[", "\"hoverlabel\"", "]" ]
[ 202, 4 ]
[ 252, 33 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 261, 4 ]
[ 293, 36 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 302, 4 ]
[ 314, 39 ]
python
en
['en', 'error', 'th']
False
Image.hovertext
(self)
Same as `text`. The 'hovertext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Same as `text`. The 'hovertext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def hovertext(self): """ Same as `text`. The 'hovertext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["hovertext"]
[ "def", "hovertext", "(", "self", ")", ":", "return", "self", "[", "\"hovertext\"", "]" ]
[ 323, 4 ]
[ 334, 32 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 343, 4 ]
[ 355, 35 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 364, 4 ]
[ 377, 26 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 386, 4 ]
[ 397, 29 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 406, 4 ]
[ 425, 27 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 434, 4 ]
[ 445, 30 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 454, 4 ]
[ 467, 27 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 476, 4 ]
[ 487, 30 ]
python
en
['en', 'error', 'th']
False
Image.stream
(self)
The 'stream' property is an instance of Stream that may be specified as: - An instance of :class:`plotly.graph_objs.image.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.image.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.image.Stream` - A dict of string/value properties that will be passed to the Stream constructor Supported dic...
[ "def", "stream", "(", "self", ")", ":", "return", "self", "[", "\"stream\"", "]" ]
[ 496, 4 ]
[ 520, 29 ]
python
en
['en', 'error', 'th']
False
Image.text
(self)
Sets the text elements associated with each z value. The 'text' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the text elements associated with each z value. The 'text' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def text(self): """ Sets the text elements associated with each z value. The 'text' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["text"]
[ "def", "text", "(", "self", ")", ":", "return", "self", "[", "\"text\"", "]" ]
[ 529, 4 ]
[ 540, 27 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 549, 4 ]
[ 560, 30 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 569, 4 ]
[ 582, 26 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 591, 4 ]
[ 615, 33 ]
python
en
['en', 'error', 'th']
False
Image.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\"", "]" ]
[ 624, 4 ]
[ 638, 30 ]
python
en
['en', 'error', 'th']
False
Image.x0
(self)
Set the image's x position. The 'x0' property accepts values of any type Returns ------- Any
Set the image's x position. The 'x0' property accepts values of any type
def x0(self): """ Set the image's x position. The 'x0' property accepts values of any type Returns ------- Any """ return self["x0"]
[ "def", "x0", "(", "self", ")", ":", "return", "self", "[", "\"x0\"", "]" ]
[ 647, 4 ]
[ 657, 25 ]
python
en
['en', 'error', 'th']
False
Image.xaxis
(self)
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on. The 'xaxis' property is an identifier of a particular ...
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on. The 'xaxis' property is an identifier of a particular ...
def xaxis(self): """ Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on. The 'xaxis' property is an ident...
[ "def", "xaxis", "(", "self", ")", ":", "return", "self", "[", "\"xaxis\"", "]" ]
[ 666, 4 ]
[ 682, 28 ]
python
en
['en', 'error', 'th']
False
Image.y0
(self)
Set the image's y position. The 'y0' property accepts values of any type Returns ------- Any
Set the image's y position. The 'y0' property accepts values of any type
def y0(self): """ Set the image's y position. The 'y0' property accepts values of any type Returns ------- Any """ return self["y0"]
[ "def", "y0", "(", "self", ")", ":", "return", "self", "[", "\"y0\"", "]" ]
[ 691, 4 ]
[ 701, 25 ]
python
en
['en', 'error', 'th']
False
Image.yaxis
(self)
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on. The 'yaxis' property is an identifier of a particular ...
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on. The 'yaxis' property is an identifier of a particular ...
def yaxis(self): """ Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on. The 'yaxis' property is an ident...
[ "def", "yaxis", "(", "self", ")", ":", "return", "self", "[", "\"yaxis\"", "]" ]
[ 710, 4 ]
[ 726, 28 ]
python
en
['en', 'error', 'th']
False
Image.z
(self)
A 2-dimensional array in which each element is an array of 3 or 4 numbers representing a color. The 'z' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
A 2-dimensional array in which each element is an array of 3 or 4 numbers representing a color. The 'z' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def z(self): """ A 2-dimensional array in which each element is an array of 3 or 4 numbers representing a color. The 'z' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray ...
[ "def", "z", "(", "self", ")", ":", "return", "self", "[", "\"z\"", "]" ]
[ 735, 4 ]
[ 747, 24 ]
python
en
['en', 'error', 'th']
False
Image.zmax
(self)
Array defining the higher bound for each color component. Note that the default value will depend on the colormodel. For the `rgb` colormodel, it is [255, 255, 255]. For the `rgba` colormodel, it is [255, 255, 255, 1]. For the `hsl` colormodel, it is [360, 100, 100]. For the `hs...
Array defining the higher bound for each color component. Note that the default value will depend on the colormodel. For the `rgb` colormodel, it is [255, 255, 255]. For the `rgba` colormodel, it is [255, 255, 255, 1]. For the `hsl` colormodel, it is [360, 100, 100]. For the `hs...
def zmax(self): """ Array defining the higher bound for each color component. Note that the default value will depend on the colormodel. For the `rgb` colormodel, it is [255, 255, 255]. For the `rgba` colormodel, it is [255, 255, 255, 1]. For the `hsl` colormodel, it is [...
[ "def", "zmax", "(", "self", ")", ":", "return", "self", "[", "\"zmax\"", "]" ]
[ 756, 4 ]
[ 781, 27 ]
python
en
['en', 'error', 'th']
False
Image.zmin
(self)
Array defining the lower bound for each color component. Note that the default value will depend on the colormodel. For the `rgb` colormodel, it is [0, 0, 0]. For the `rgba` colormodel, it is [0, 0, 0, 0]. For the `hsl` colormodel, it is [0, 0, 0]. For the `hsla` colormodel, it ...
Array defining the lower bound for each color component. Note that the default value will depend on the colormodel. For the `rgb` colormodel, it is [0, 0, 0]. For the `rgba` colormodel, it is [0, 0, 0, 0]. For the `hsl` colormodel, it is [0, 0, 0]. For the `hsla` colormodel, it ...
def zmin(self): """ Array defining the lower bound for each color component. Note that the default value will depend on the colormodel. For the `rgb` colormodel, it is [0, 0, 0]. For the `rgba` colormodel, it is [0, 0, 0, 0]. For the `hsl` colormodel, it is [0, 0, 0]. For...
[ "def", "zmin", "(", "self", ")", ":", "return", "self", "[", "\"zmin\"", "]" ]
[ 790, 4 ]
[ 814, 27 ]
python
en
['en', 'error', 'th']
False
Image.zsrc
(self)
Sets the source reference on Chart Studio Cloud for z . The 'zsrc' 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 z . The 'zsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def zsrc(self): """ Sets the source reference on Chart Studio Cloud for z . The 'zsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["zsrc"]
[ "def", "zsrc", "(", "self", ")", ":", "return", "self", "[", "\"zsrc\"", "]" ]
[ 823, 4 ]
[ 834, 27 ]
python
en
['en', 'error', 'th']
False
Image.__init__
( self, arg=None, colormodel=None, customdata=None, customdatasrc=None, dx=None, dy=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplatesrc=None, hovertext=None, hoverte...
Construct a new Image object Display an image, i.e. data on a 2D regular raster. By default, when an image is displayed in a subplot, its y axis will be reversed (ie. `autorange: 'reversed'`), constrained to the domain (ie. `constrain: 'domain'`) and it will have the sa...
Construct a new Image object Display an image, i.e. data on a 2D regular raster. By default, when an image is displayed in a subplot, its y axis will be reversed (ie. `autorange: 'reversed'`), constrained to the domain (ie. `constrain: 'domain'`) and it will have the sa...
def __init__( self, arg=None, colormodel=None, customdata=None, customdatasrc=None, dx=None, dy=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplatesrc=None, hovertext=None, ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "colormodel", "=", "None", ",", "customdata", "=", "None", ",", "customdatasrc", "=", "None", ",", "dx", "=", "None", ",", "dy", "=", "None", ",", "hoverinfo", "=", "None", ",", "hoverinfo...
[ 1009, 4 ]
[ 1392, 34 ]
python
en
['en', 'error', 'th']
False
Font.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
Font.family
(self)
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts ...
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts ...
def family(self): """ HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the prefer...
[ "def", "family", "(", "self", ")", ":", "return", "self", "[", "\"family\"", "]" ]
[ 72, 4 ]
[ 94, 29 ]
python
en
['en', 'error', 'th']
False
Font.size
(self)
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] Returns ------- int|float
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf]
def size(self): """ The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] Returns ------- int|float """ return self["size"]
[ "def", "size", "(", "self", ")", ":", "return", "self", "[", "\"size\"", "]" ]
[ 103, 4 ]
[ 112, 27 ]
python
en
['en', 'error', 'th']
False
Font.__init__
(self, arg=None, color=None, family=None, size=None, **kwargs)
Construct a new Font object Sets the font of the current value label text. Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.slider. currentvalue.Font` ...
Construct a new Font object Sets the font of the current value label text.
def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): """ Construct a new Font object Sets the font of the current value label text. Parameters ---------- arg dict of properties compatible with this constructor or an...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "family", "=", "None", ",", "size", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Font", ",", "self", ")", ".", "__init__", "(", "\"font\"",...
[ 143, 4 ]
[ 226, 34 ]
python
en
['en', 'error', 'th']
False
Textfont.color
(self)
Sets the text font color of selected points. 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,1...
Sets the text font color of selected points. 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,1...
def color(self): """ Sets the text font color of selected points. 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 hs...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 15, 4 ]
[ 65, 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.scatterpolar.s elected.Textfont` color Sets the text font color of s...
Construct a new Textfont object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatterpolar.s elected.Textfont` color Sets the text font color of s...
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.scatterpolar.s elected.Te...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Textfont", ",", "self", ")", ".", "__init__", "(", "\"textfont\"", ")", "if", "\"_parent\"", "in", "kwargs", ":", ...
[ 80, 4 ]
[ 137, 34 ]
python
en
['en', 'error', 'th']
False
TestPerform.test_init
(self)
Test initialization.
Test initialization.
def test_init(self): """Test initialization.""" assert self.perform.name == self.test_name assert self.perform.params == self.test_params
[ "def", "test_init", "(", "self", ")", ":", "assert", "self", ".", "perform", ".", "name", "==", "self", ".", "test_name", "assert", "self", ".", "perform", ".", "params", "==", "self", ".", "test_params" ]
[ 13, 4 ]
[ 16, 54 ]
python
co
['es', 'co', 'en']
False
TestPerform.test_deserialize
(self, mock_perform_schema_load)
Test deserialization.
Test deserialization.
def test_deserialize(self, mock_perform_schema_load): """ Test deserialization. """ obj = {"obj": "obj"} request = Perform.deserialize(obj) mock_perform_schema_load.assert_called_once_with(obj) assert request is mock_perform_schema_load.return_value
[ "def", "test_deserialize", "(", "self", ",", "mock_perform_schema_load", ")", ":", "obj", "=", "{", "\"obj\"", ":", "\"obj\"", "}", "request", "=", "Perform", ".", "deserialize", "(", "obj", ")", "mock_perform_schema_load", ".", "assert_called_once_with", "(", "...
[ 23, 4 ]
[ 32, 63 ]
python
en
['en', 'error', 'th']
False
TestPerform.test_serialize
(self, mock_perform_schema_dump)
Test serialization.
Test serialization.
def test_serialize(self, mock_perform_schema_dump): """ Test serialization. """ request_dict = self.perform.serialize() mock_perform_schema_dump.assert_called_once_with(self.perform) assert request_dict is mock_perform_schema_dump.return_value
[ "def", "test_serialize", "(", "self", ",", "mock_perform_schema_dump", ")", ":", "request_dict", "=", "self", ".", "perform", ".", "serialize", "(", ")", "mock_perform_schema_dump", ".", "assert_called_once_with", "(", "self", ".", "perform", ")", "assert", "reque...
[ 35, 4 ]
[ 41, 68 ]
python
en
['en', 'error', 'th']
False