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
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 this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. Parameters ---------- arg dict of properties compatible with this constructor or an inst...
Construct a new Font object Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): """ Construct a new Font object Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. Parameters ---------- arg...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "family", "=", "None", ",", "size", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Font", ",", "self", ")", ".", "__init__", "(", "\"font\"",...
[ 143, 4 ]
[ 227, 34 ]
python
en
['en', 'error', 'th']
False
Z.fill
(self)
Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. The 'fill' property is a number and ma...
Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. The 'fill' property is a number and ma...
def fill(self): """ Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. The 'fill' ...
[ "def", "fill", "(", "self", ")", ":", "return", "self", "[", "\"fill\"", "]" ]
[ 15, 4 ]
[ 29, 27 ]
python
en
['en', 'error', 'th']
False
Z.locations
(self)
Specifies the location(s) of slices on the axis. When not specified slices would be created for all points of the axis z except start and end. The 'locations' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ...
Specifies the location(s) of slices on the axis. When not specified slices would be created for all points of the axis z except start and end. The 'locations' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def locations(self): """ Specifies the location(s) of slices on the axis. When not specified slices would be created for all points of the axis z except start and end. The 'locations' property is an array that may be specified as a tuple, list, numpy array, or pandas...
[ "def", "locations", "(", "self", ")", ":", "return", "self", "[", "\"locations\"", "]" ]
[ 38, 4 ]
[ 51, 32 ]
python
en
['en', 'error', 'th']
False
Z.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\"", "]" ]
[ 60, 4 ]
[ 72, 35 ]
python
en
['en', 'error', 'th']
False
Z.show
(self)
Determines whether or not slice planes about the z dimension are drawn. The 'show' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not slice planes about the z dimension are drawn. The 'show' property must be specified as a bool (either True, or False)
def show(self): """ Determines whether or not slice planes about the z dimension are drawn. The 'show' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["show"]
[ "def", "show", "(", "self", ")", ":", "return", "self", "[", "\"show\"", "]" ]
[ 81, 4 ]
[ 93, 27 ]
python
en
['en', 'error', 'th']
False
Z.__init__
( self, arg=None, fill=None, locations=None, locationssrc=None, show=None, **kwargs )
Construct a new Z object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.isosurface.slices.Z` fill Sets the fill ratio of the `slices`. The default ...
Construct a new Z object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.isosurface.slices.Z` fill Sets the fill ratio of the `slices`. The default ...
def __init__( self, arg=None, fill=None, locations=None, locationssrc=None, show=None, **kwargs ): """ Construct a new Z object Parameters ---------- arg dict of properties compatible with this const...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "fill", "=", "None", ",", "locations", "=", "None", ",", "locationssrc", "=", "None", ",", "show", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Z", ",", "self", ")", ...
[ 122, 4 ]
[ 213, 34 ]
python
en
['en', 'error', 'th']
False
create_lyft_infos
(root_path, info_prefix, version='v1.01-train', max_sweeps=10)
Create info file of lyft dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path of the data root. info_prefix (str): Prefix of the info file to be generated. version (str): Version of the data. Default: 'v1.01-train' m...
Create info file of lyft dataset.
def create_lyft_infos(root_path, info_prefix, version='v1.01-train', max_sweeps=10): """Create info file of lyft dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path of the data root...
[ "def", "create_lyft_infos", "(", "root_path", ",", "info_prefix", ",", "version", "=", "'v1.01-train'", ",", "max_sweeps", "=", "10", ")", ":", "lyft", "=", "Lyft", "(", "data_path", "=", "osp", ".", "join", "(", "root_path", ",", "version", ")", ",", "j...
[ 15, 0 ]
[ 87, 38 ]
python
en
['en', 'no', 'en']
True
_fill_trainval_infos
(lyft, train_scenes, val_scenes, test=False, max_sweeps=10)
Generate the train/val infos from the raw data. Args: lyft (:obj:`LyftDataset`): Dataset class in the Lyft dataset. train_scenes (list[str]): Basic information of training scenes. val_scenes (list[str]): Basic information of validation scenes. test (bool): Whether use the test mode....
Generate the train/val infos from the raw data.
def _fill_trainval_infos(lyft, train_scenes, val_scenes, test=False, max_sweeps=10): """Generate the train/val infos from the raw data. Args: lyft (:obj:`LyftDataset`): Dataset class in the Lyft dataset....
[ "def", "_fill_trainval_infos", "(", "lyft", ",", "train_scenes", ",", "val_scenes", ",", "test", "=", "False", ",", "max_sweeps", "=", "10", ")", ":", "train_lyft_infos", "=", "[", "]", "val_lyft_infos", "=", "[", "]", "for", "sample", "in", "mmcv", ".", ...
[ 90, 0 ]
[ 208, 43 ]
python
en
['en', 'en', 'en']
True
export_2d_annotation
(root_path, info_path, version)
Export 2d annotation from the info file and raw data. Args: root_path (str): Root path of the raw data. info_path (str): Path of the info file. version (str): Dataset version.
Export 2d annotation from the info file and raw data.
def export_2d_annotation(root_path, info_path, version): """Export 2d annotation from the info file and raw data. Args: root_path (str): Root path of the raw data. info_path (str): Path of the info file. version (str): Dataset version. """ # get bbox annotations for camera c...
[ "def", "export_2d_annotation", "(", "root_path", ",", "info_path", ",", "version", ")", ":", "# get bbox annotations for camera", "camera_types", "=", "[", "'CAM_FRONT'", ",", "'CAM_FRONT_RIGHT'", ",", "'CAM_FRONT_LEFT'", ",", "'CAM_BACK'", ",", "'CAM_BACK_LEFT'", ",", ...
[ 211, 0 ]
[ 262, 58 ]
python
en
['en', 'en', 'en']
True
setup
(bot)
Mandatory function to add the Cog to the bot.
Mandatory function to add the Cog to the bot.
def setup(bot): """ Mandatory function to add the Cog to the bot. """ bot.add_cog(KlimBimCog(bot))
[ "def", "setup", "(", "bot", ")", ":", "bot", ".", "add_cog", "(", "KlimBimCog", "(", "bot", ")", ")" ]
[ 609, 0 ]
[ 613, 32 ]
python
en
['en', 'error', 'th']
False
KlimBimCog.the_dragon
(self, ctx: commands.Context)
Posts and awesome ASCII Art Dragon! Example: @AntiPetros the_dragon
Posts and awesome ASCII Art Dragon!
async def the_dragon(self, ctx: commands.Context): """ Posts and awesome ASCII Art Dragon! Example: @AntiPetros the_dragon """ suprise_dragon_check = secrets.randbelow(100) + 1 if suprise_dragon_check == 1: await ctx.send('https://i.redd.it/073kp...
[ "async", "def", "the_dragon", "(", "self", ",", "ctx", ":", "commands", ".", "Context", ")", ":", "suprise_dragon_check", "=", "secrets", ".", "randbelow", "(", "100", ")", "+", "1", "if", "suprise_dragon_check", "==", "1", ":", "await", "ctx", ".", "sen...
[ 150, 4 ]
[ 164, 38 ]
python
en
['en', 'error', 'th']
False
KlimBimCog.flip_coin
(self, ctx: commands.Context)
Simulates a coin flip and posts the result as an image of a Petros Dollar. Example: @AntiPetros flip_coin
Simulates a coin flip and posts the result as an image of a Petros Dollar.
async def flip_coin(self, ctx: commands.Context): """ Simulates a coin flip and posts the result as an image of a Petros Dollar. Example: @AntiPetros flip_coin """ async with ctx.typing(): result = (secrets.randbelow(2) + 1) coin = "heads" i...
[ "async", "def", "flip_coin", "(", "self", ",", "ctx", ":", "commands", ".", "Context", ")", ":", "async", "with", "ctx", ".", "typing", "(", ")", ":", "result", "=", "(", "secrets", ".", "randbelow", "(", "2", ")", "+", "1", ")", "coin", "=", "\"...
[ 169, 4 ]
[ 194, 23 ]
python
en
['en', 'error', 'th']
False
KlimBimCog.flip_coin_text
(self, ctx: commands.Context)
Renders the `flip_coin` command as text only, without images. Subcommand of `flip_coin` Example: @AntiPetros flip_coin text
Renders the `flip_coin` command as text only, without images.
async def flip_coin_text(self, ctx: commands.Context): """ Renders the `flip_coin` command as text only, without images. Subcommand of `flip_coin` Example: @AntiPetros flip_coin text """ async with ctx.typing(): result = (secrets.randbelow(2) + 1...
[ "async", "def", "flip_coin_text", "(", "self", ",", "ctx", ":", "commands", ".", "Context", ")", ":", "async", "with", "ctx", ".", "typing", "(", ")", ":", "result", "=", "(", "secrets", ".", "randbelow", "(", "2", ")", "+", "1", ")", "coin", "=", ...
[ 198, 4 ]
[ 219, 77 ]
python
en
['en', 'error', 'th']
False
KlimBimCog.urban_dictionary
(self, ctx, term: str, entries: int = 1)
Searches Urbandictionary for the search term and post the answer as embed Args: term (str): the search term entries (int, optional): How many UD entries for that term it should post, max is 5. Defaults to 1. Example: @AntiPetros urban_dictionary Petros 2 ...
Searches Urbandictionary for the search term and post the answer as embed
async def urban_dictionary(self, ctx, term: str, entries: int = 1): """ Searches Urbandictionary for the search term and post the answer as embed Args: term (str): the search term entries (int, optional): How many UD entries for that term it should post, max is 5. Defau...
[ "async", "def", "urban_dictionary", "(", "self", ",", "ctx", ",", "term", ":", "str", ",", "entries", ":", "int", "=", "1", ")", ":", "if", "entries", ">", "5", ":", "await", "ctx", ".", "send", "(", "'To many requested entries,max allowed return entries is ...
[ 224, 4 ]
[ 255, 38 ]
python
en
['en', 'error', 'th']
False
KlimBimCog.make_figlet
(self, ctx, *, text: str)
Posts an ASCII Art version of the input text. Args: text (str): text you want to see as ASCII Art. Example: @AntiPetros make_figlet The text to figlet Info: Your invoking message gets deleted!
Posts an ASCII Art version of the input text.
async def make_figlet(self, ctx, *, text: str): """ Posts an ASCII Art version of the input text. Args: text (str): text you want to see as ASCII Art. Example: @AntiPetros make_figlet The text to figlet Info: Your invoking message gets delet...
[ "async", "def", "make_figlet", "(", "self", ",", "ctx", ",", "*", ",", "text", ":", "str", ")", ":", "figlet", "=", "Figlet", "(", "font", "=", "'gothic'", ",", "width", "=", "300", ")", "new_text", "=", "figlet", ".", "renderText", "(", "text", "....
[ 260, 4 ]
[ 277, 34 ]
python
en
['en', 'error', 'th']
False
KlimBimCog.parse_dice_line
(self, dice_line: str)
Parses the input string for the `roll_dice` command into a tuple of "amounts" and "type of dice". Args: dice_line (str): input string Raises: ParseDiceLineError: If the format is not in the needed format (e.g. "1d6 6d8") or the type of dice does not exist. Ret...
Parses the input string for the `roll_dice` command into a tuple of "amounts" and "type of dice".
async def parse_dice_line(self, dice_line: str) -> List[Tuple[int, str]]: """ Parses the input string for the `roll_dice` command into a tuple of "amounts" and "type of dice". Args: dice_line (str): input string Raises: ParseDiceLineError: If the format is not i...
[ "async", "def", "parse_dice_line", "(", "self", ",", "dice_line", ":", "str", ")", "->", "List", "[", "Tuple", "[", "int", ",", "str", "]", "]", ":", "_out", "=", "[", "]", "statements", "=", "dice_line", ".", "split", "(", ")", "for", "statement", ...
[ 300, 4 ]
[ 321, 19 ]
python
en
['en', 'error', 'th']
False
KlimBimCog._roll_the_dice
(sides)
Roles the die via the `secrets` module.
Roles the die via the `secrets` module.
async def _roll_the_dice(sides): """ Roles the die via the `secrets` module. """ return secrets.randbelow(sides) + 1
[ "async", "def", "_roll_the_dice", "(", "sides", ")", ":", "return", "secrets", ".", "randbelow", "(", "sides", ")", "+", "1" ]
[ 324, 4 ]
[ 328, 43 ]
python
en
['en', 'error', 'th']
False
KlimBimCog._get_dice_images
(result_image_file_paths)
Retrieves the images of the dice from the filesystem.
Retrieves the images of the dice from the filesystem.
def _get_dice_images(result_image_file_paths): """ Retrieves the images of the dice from the filesystem. """ images = [Image.open(dice_image) for dice_image in result_image_file_paths] return images
[ "def", "_get_dice_images", "(", "result_image_file_paths", ")", ":", "images", "=", "[", "Image", ".", "open", "(", "dice_image", ")", "for", "dice_image", "in", "result_image_file_paths", "]", "return", "images" ]
[ 331, 4 ]
[ 336, 21 ]
python
en
['en', 'error', 'th']
False
KlimBimCog._sum_dice_results
(in_result)
Calculates the sum of the dice.
Calculates the sum of the dice.
def _sum_dice_results(in_result): """ Calculates the sum of the dice. """ result_dict = {key: sum(value) for key, value in in_result.items()} result_combined = sum(value for key, value in result_dict.items()) return result_combined
[ "def", "_sum_dice_results", "(", "in_result", ")", ":", "result_dict", "=", "{", "key", ":", "sum", "(", "value", ")", "for", "key", ",", "value", "in", "in_result", ".", "items", "(", ")", "}", "result_combined", "=", "sum", "(", "value", "for", "key"...
[ 339, 4 ]
[ 346, 30 ]
python
en
['en', 'error', 'th']
False
KlimBimCog.roll_dice
(self, ctx, *, dice_line: str)
Roll Dice and get the result also as Image. All standard DnD Dice are available, d4, d6, d8, d10, d12, d20, d100. Args: dice_line (str): the dice you want to roll in the format `2d6`, first number is amount. Multiple different dice can be rolled, just seperate them by a space. -> ...
Roll Dice and get the result also as Image.
async def roll_dice(self, ctx, *, dice_line: str): # @AntiPetros roll_dice 14d4 14d6 14d8 14d10 14d12 14d20 14d100 """ Roll Dice and get the result also as Image. All standard DnD Dice are available, d4, d6, d8, d10, d12, d20, d100. Args: dice_line (str): the dice you want...
[ "async", "def", "roll_dice", "(", "self", ",", "ctx", ",", "*", ",", "dice_line", ":", "str", ")", ":", "# @AntiPetros roll_dice 14d4 14d6 14d8 14d10 14d12 14d20 14d100", "# TODO: Refractor this ugly mess", "dice_limit", "=", "100", "results", "=", "{", "}", "result_i...
[ 351, 4 ]
[ 402, 36 ]
python
en
['en', 'error', 'th']
False
KlimBimCog.roll_dice_text
(self, ctx, *, dice_line: str)
Renders the `roll_dice` command as text only, without images. Subcommand of `roll_dice` Example: @AntiPetros roll_dice text
Renders the `roll_dice` command as text only, without images.
async def roll_dice_text(self, ctx, *, dice_line: str): """ Renders the `roll_dice` command as text only, without images. Subcommand of `roll_dice` Example: @AntiPetros roll_dice text """ # TODO: Refractor this ugly mess dice_limit = 100 resu...
[ "async", "def", "roll_dice_text", "(", "self", ",", "ctx", ",", "*", ",", "dice_line", ":", "str", ")", ":", "# TODO: Refractor this ugly mess", "dice_limit", "=", "100", "results", "=", "{", "}", "parsed_dice_line", "=", "await", "self", ".", "parse_dice_line...
[ 406, 4 ]
[ 457, 78 ]
python
en
['en', 'error', 'th']
False
KlimBimCog.choose_random
(self, ctx: commands.Context, select_amount: Optional[int] = 1, *, choices: str)
Selects random items from a semi-colon(`;`) seperated list. No limit on how many items the list can have, except for Discord character limit. Amount of item to select can be set by specifying a number before the list. Defaults to selecting only 1 item. Max amount is 25. Args: cho...
Selects random items from a semi-colon(`;`) seperated list. No limit on how many items the list can have, except for Discord character limit.
async def choose_random(self, ctx: commands.Context, select_amount: Optional[int] = 1, *, choices: str): """ Selects random items from a semi-colon(`;`) seperated list. No limit on how many items the list can have, except for Discord character limit. Amount of item to select can be set by speci...
[ "async", "def", "choose_random", "(", "self", ",", "ctx", ":", "commands", ".", "Context", ",", "select_amount", ":", "Optional", "[", "int", "]", "=", "1", ",", "*", ",", "choices", ":", "str", ")", ":", "if", "select_amount", ">", "25", ":", "embed...
[ 462, 4 ]
[ 508, 41 ]
python
en
['en', 'error', 'th']
False
KlimBimCog.random_music
(self, ctx: commands.Context)
Posts a youtube music video link, select randomly from its internal list of youtube links. Highly oppinionated by Giddi ;). Example: @AntiPetros random_music
Posts a youtube music video link, select randomly from its internal list of youtube links.
async def random_music(self, ctx: commands.Context): """ Posts a youtube music video link, select randomly from its internal list of youtube links. Highly oppinionated by Giddi ;). Example: @AntiPetros random_music """ data = list(self.youtube_links.keys()) ...
[ "async", "def", "random_music", "(", "self", ",", "ctx", ":", "commands", ".", "Context", ")", ":", "data", "=", "list", "(", "self", ".", "youtube_links", ".", "keys", "(", ")", ")", "random", ".", "shuffle", "(", "data", ")", "selection", "=", "ran...
[ 513, 4 ]
[ 529, 151 ]
python
en
['en', 'error', 'th']
False
KlimBimCog.add_music
(self, ctx: commands.Context, band: str, title: str, youtube_link: UrlConverter)
Adds a youtube music video link to the bots internal youtube link storage. This makes it possible for the youtube link to show up when the `random_music` command is used. Args: band (str): The name of the Band or Artist. Needs to be put in quotes(") if it contains spaces ...
Adds a youtube music video link to the bots internal youtube link storage.
async def add_music(self, ctx: commands.Context, band: str, title: str, youtube_link: UrlConverter): """ Adds a youtube music video link to the bots internal youtube link storage. This makes it possible for the youtube link to show up when the `random_music` command is used. Args: ...
[ "async", "def", "add_music", "(", "self", ",", "ctx", ":", "commands", ".", "Context", ",", "band", ":", "str", ",", "title", ":", "str", ",", "youtube_link", ":", "UrlConverter", ")", ":", "if", "\"youtube\"", "not", "in", "youtube_link", ".", "casefold...
[ 534, 4 ]
[ 565, 49 ]
python
en
['en', 'error', 'th']
False
Gauge.axis
(self)
The 'axis' property is an instance of Axis that may be specified as: - An instance of :class:`plotly.graph_objs.indicator.gauge.Axis` - A dict of string/value properties that will be passed to the Axis constructor Supported dict properties: ...
The 'axis' property is an instance of Axis that may be specified as: - An instance of :class:`plotly.graph_objs.indicator.gauge.Axis` - A dict of string/value properties that will be passed to the Axis constructor Supported dict properties: ...
def axis(self): """ The 'axis' property is an instance of Axis that may be specified as: - An instance of :class:`plotly.graph_objs.indicator.gauge.Axis` - A dict of string/value properties that will be passed to the Axis constructor Supported dic...
[ "def", "axis", "(", "self", ")", ":", "return", "self", "[", "\"axis\"", "]" ]
[ 25, 4 ]
[ 190, 27 ]
python
en
['en', 'error', 'th']
False
Gauge.bar
(self)
Set the appearance of the gauge's value The 'bar' property is an instance of Bar that may be specified as: - An instance of :class:`plotly.graph_objs.indicator.gauge.Bar` - A dict of string/value properties that will be passed to the Bar constructor ...
Set the appearance of the gauge's value The 'bar' property is an instance of Bar that may be specified as: - An instance of :class:`plotly.graph_objs.indicator.gauge.Bar` - A dict of string/value properties that will be passed to the Bar constructor ...
def bar(self): """ Set the appearance of the gauge's value The 'bar' property is an instance of Bar that may be specified as: - An instance of :class:`plotly.graph_objs.indicator.gauge.Bar` - A dict of string/value properties that will be passed to th...
[ "def", "bar", "(", "self", ")", ":", "return", "self", "[", "\"bar\"", "]" ]
[ 199, 4 ]
[ 225, 26 ]
python
en
['en', 'error', 'th']
False
Gauge.bgcolor
(self)
Sets the gauge background color. The 'bgcolor' 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%)'...
Sets the gauge background color. The 'bgcolor' 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%)'...
def bgcolor(self): """ Sets the gauge background color. The 'bgcolor' 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 s...
[ "def", "bgcolor", "(", "self", ")", ":", "return", "self", "[", "\"bgcolor\"", "]" ]
[ 234, 4 ]
[ 284, 30 ]
python
en
['en', 'error', 'th']
False
Gauge.bordercolor
(self)
Sets the color of the border enclosing the gauge. The 'bordercolor' 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....
Sets the color of the border enclosing the gauge. The 'bordercolor' 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....
def bordercolor(self): """ Sets the color of the border enclosing the gauge. The 'bordercolor' 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", "bordercolor", "(", "self", ")", ":", "return", "self", "[", "\"bordercolor\"", "]" ]
[ 293, 4 ]
[ 343, 34 ]
python
en
['en', 'error', 'th']
False
Gauge.borderwidth
(self)
Sets the width (in px) of the border enclosing the gauge. The 'borderwidth' 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 border enclosing the gauge. The 'borderwidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def borderwidth(self): """ Sets the width (in px) of the border enclosing the gauge. The 'borderwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["borde...
[ "def", "borderwidth", "(", "self", ")", ":", "return", "self", "[", "\"borderwidth\"", "]" ]
[ 352, 4 ]
[ 363, 34 ]
python
en
['en', 'error', 'th']
False
Gauge.shape
(self)
Set the shape of the gauge The 'shape' property is an enumeration that may be specified as: - One of the following enumeration values: ['angular', 'bullet'] Returns ------- Any
Set the shape of the gauge The 'shape' property is an enumeration that may be specified as: - One of the following enumeration values: ['angular', 'bullet']
def shape(self): """ Set the shape of the gauge The 'shape' property is an enumeration that may be specified as: - One of the following enumeration values: ['angular', 'bullet'] Returns ------- Any """ return self["shape"]
[ "def", "shape", "(", "self", ")", ":", "return", "self", "[", "\"shape\"", "]" ]
[ 372, 4 ]
[ 384, 28 ]
python
en
['en', 'error', 'th']
False
Gauge.steps
(self)
The 'steps' property is a tuple of instances of Step that may be specified as: - A list or tuple of instances of plotly.graph_objs.indicator.gauge.Step - A list or tuple of dicts of string/value properties that will be passed to the Step constructor Supp...
The 'steps' property is a tuple of instances of Step that may be specified as: - A list or tuple of instances of plotly.graph_objs.indicator.gauge.Step - A list or tuple of dicts of string/value properties that will be passed to the Step constructor Supp...
def steps(self): """ The 'steps' property is a tuple of instances of Step that may be specified as: - A list or tuple of instances of plotly.graph_objs.indicator.gauge.Step - A list or tuple of dicts of string/value properties that will be passed to the Step const...
[ "def", "steps", "(", "self", ")", ":", "return", "self", "[", "\"steps\"", "]" ]
[ 393, 4 ]
[ 440, 28 ]
python
en
['en', 'error', 'th']
False
Gauge.stepdefaults
(self)
When used in a template (as layout.template.data.indicator.gauge.stepdefaults), sets the default property values to use for elements of indicator.gauge.steps The 'stepdefaults' property is an instance of Step that may be specified as: - An instance of :cla...
When used in a template (as layout.template.data.indicator.gauge.stepdefaults), sets the default property values to use for elements of indicator.gauge.steps The 'stepdefaults' property is an instance of Step that may be specified as: - An instance of :cla...
def stepdefaults(self): """ When used in a template (as layout.template.data.indicator.gauge.stepdefaults), sets the default property values to use for elements of indicator.gauge.steps The 'stepdefaults' property is an instance of Step that may be specified ...
[ "def", "stepdefaults", "(", "self", ")", ":", "return", "self", "[", "\"stepdefaults\"", "]" ]
[ 449, 4 ]
[ 468, 35 ]
python
en
['en', 'error', 'th']
False
Gauge.threshold
(self)
The 'threshold' property is an instance of Threshold that may be specified as: - An instance of :class:`plotly.graph_objs.indicator.gauge.Threshold` - A dict of string/value properties that will be passed to the Threshold constructor Supported dict prope...
The 'threshold' property is an instance of Threshold that may be specified as: - An instance of :class:`plotly.graph_objs.indicator.gauge.Threshold` - A dict of string/value properties that will be passed to the Threshold constructor Supported dict prope...
def threshold(self): """ The 'threshold' property is an instance of Threshold that may be specified as: - An instance of :class:`plotly.graph_objs.indicator.gauge.Threshold` - A dict of string/value properties that will be passed to the Threshold constructor ...
[ "def", "threshold", "(", "self", ")", ":", "return", "self", "[", "\"threshold\"", "]" ]
[ 477, 4 ]
[ 501, 32 ]
python
en
['en', 'error', 'th']
False
Gauge.__init__
( self, arg=None, axis=None, bar=None, bgcolor=None, bordercolor=None, borderwidth=None, shape=None, steps=None, stepdefaults=None, threshold=None, **kwargs )
Construct a new Gauge object The gauge of the Indicator plot. Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.indicator.Gauge` axis :class:...
Construct a new Gauge object The gauge of the Indicator plot.
def __init__( self, arg=None, axis=None, bar=None, bgcolor=None, bordercolor=None, borderwidth=None, shape=None, steps=None, stepdefaults=None, threshold=None, **kwargs ): """ Construct a new Gauge object...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "axis", "=", "None", ",", "bar", "=", "None", ",", "bgcolor", "=", "None", ",", "bordercolor", "=", "None", ",", "borderwidth", "=", "None", ",", "shape", "=", "None", ",", "steps", "=",...
[ 540, 4 ]
[ 668, 34 ]
python
en
['en', 'error', 'th']
False
MenuFormParam.__init__
( self, *, name: str = None, title: str = None, default: str = None, description: str = None, input_type: str = None, required: bool = None, )
Initialize a MenuFormParam instance. Args: name: The parameter name title: The parameter title default: A default value for the parameter description: Additional descriptive text for the menu form parameter input_type: Input type ...
Initialize a MenuFormParam instance.
def __init__( self, *, name: str = None, title: str = None, default: str = None, description: str = None, input_type: str = None, required: bool = None, ): """ Initialize a MenuFormParam instance. Args: name: The pa...
[ "def", "__init__", "(", "self", ",", "*", ",", "name", ":", "str", "=", "None", ",", "title", ":", "str", "=", "None", ",", "default", ":", "str", "=", "None", ",", "description", ":", "str", "=", "None", ",", "input_type", ":", "str", "=", "None...
[ 15, 4 ]
[ 42, 32 ]
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 this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. Parameters ---------- arg dict of properties compatible with this constructor or an instance o...
Construct a new Font object Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.
def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): """ Construct a new Font object Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. Parameters ---------- arg ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "family", "=", "None", ",", "size", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Font", ",", "self", ")", ".", "__init__", "(", "\"font\"",...
[ 143, 4 ]
[ 227, 34 ]
python
en
['en', 'error', 'th']
False
resource
(ref: str, delimiter: str = None)
Extract the resource for an identifier. Given a (URI) reference, return up to its delimiter (exclusively), or all of it if there is none. Args: ref: reference delimiter: delimiter character (default None maps to '#', or ';' introduces identifiers)
Extract the resource for an identifier.
def resource(ref: str, delimiter: str = None) -> str: """ Extract the resource for an identifier. Given a (URI) reference, return up to its delimiter (exclusively), or all of it if there is none. Args: ref: reference delimiter: delimiter character (default None maps to ...
[ "def", "resource", "(", "ref", ":", "str", ",", "delimiter", ":", "str", "=", "None", ")", "->", "str", ":", "return", "ref", ".", "split", "(", "delimiter", "if", "delimiter", "else", "\"#\"", ")", "[", "0", "]" ]
[ 24, 0 ]
[ 37, 56 ]
python
en
['en', 'error', 'th']
False
canon_did
(uri: str)
Convert a URI into a DID if need be, left-stripping 'did:sov:' if present. Args: uri: input URI or DID Raises: ValueError: for invalid input.
Convert a URI into a DID if need be, left-stripping 'did:sov:' if present.
def canon_did(uri: str) -> str: """ Convert a URI into a DID if need be, left-stripping 'did:sov:' if present. Args: uri: input URI or DID Raises: ValueError: for invalid input. """ if ok_did(uri): return uri if uri.startswith("did:sov:"): rv = uri[8:] ...
[ "def", "canon_did", "(", "uri", ":", "str", ")", "->", "str", ":", "if", "ok_did", "(", "uri", ")", ":", "return", "uri", "if", "uri", ".", "startswith", "(", "\"did:sov:\"", ")", ":", "rv", "=", "uri", "[", "8", ":", "]", "if", "ok_did", "(", ...
[ 40, 0 ]
[ 61, 5 ]
python
en
['en', 'error', 'th']
False
canon_ref
(did: str, ref: str, delimiter: str = None)
Given a reference in a DID document, return it in its canonical form of a URI. Args: did: DID acting as the identifier of the DID document ref: reference to canonicalize, either a DID or a fragment pointing to a location in the DID doc delimiter: delimiter character marking...
Given a reference in a DID document, return it in its canonical form of a URI.
def canon_ref(did: str, ref: str, delimiter: str = None): """ Given a reference in a DID document, return it in its canonical form of a URI. Args: did: DID acting as the identifier of the DID document ref: reference to canonicalize, either a DID or a fragment pointing to a locat...
[ "def", "canon_ref", "(", "did", ":", "str", ",", "ref", ":", "str", ",", "delimiter", ":", "str", "=", "None", ")", ":", "if", "not", "ok_did", "(", "did", ")", ":", "raise", "ValueError", "(", "\"Bad DID {} cannot act as DID document identifier\"", ".", "...
[ 64, 0 ]
[ 96, 77 ]
python
en
['en', 'error', 'th']
False
ok_did
(token: str)
Whether input token looks like a valid decentralized identifier. Args: token: candidate string Returns: whether input token looks like a valid schema identifier
Whether input token looks like a valid decentralized identifier.
def ok_did(token: str) -> bool: """ Whether input token looks like a valid decentralized identifier. Args: token: candidate string Returns: whether input token looks like a valid schema identifier """ try: return len(b58decode(token)) == 16 if token else False except Valu...
[ "def", "ok_did", "(", "token", ":", "str", ")", "->", "bool", ":", "try", ":", "return", "len", "(", "b58decode", "(", "token", ")", ")", "==", "16", "if", "token", "else", "False", "except", "ValueError", ":", "return", "False" ]
[ 99, 0 ]
[ 113, 20 ]
python
en
['en', 'error', 'th']
False
testGetTxnsNoSeqNo
()
Test GET_TXNS from client and do not provide any seqNo to fetch from
Test GET_TXNS from client and do not provide any seqNo to fetch from
def testGetTxnsNoSeqNo(): """ Test GET_TXNS from client and do not provide any seqNo to fetch from """ raise NotImplementedError
[ "def", "testGetTxnsNoSeqNo", "(", ")", ":", "raise", "NotImplementedError" ]
[ 219, 0 ]
[ 223, 29 ]
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 Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.table.cells.Font` color colorsrc Sets the source reference on C...
Construct a new Font object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.table.cells.Font` color
def __init__( self, arg=None, color=None, colorsrc=None, family=None, familysrc=None, size=None, sizesrc=None, **kwargs ): """ Construct a new Font object Parameters ---------- arg di...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "colorsrc", "=", "None", ",", "family", "=", "None", ",", "familysrc", "=", "None", ",", "size", "=", "None", ",", "sizesrc", "=", "None", ",", "*", "*", "kw...
[ 215, 4 ]
[ 327, 34 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.autocolorscale
(self)
Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is true, the default palette will be chosen according to whether numbers in the `color` array are a...
Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is true, the default palette will be chosen according to whether numbers in the `color` array are a...
def autocolorscale(self): """ Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is true, the default palette will be chosen according to wheth...
[ "def", "autocolorscale", "(", "self", ")", ":", "return", "self", "[", "\"autocolorscale\"", "]" ]
[ 61, 4 ]
[ 77, 37 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.below
(self)
Determines if the choropleth polygons will be inserted before the layer with the specified ID. By default, choroplethmapbox traces are placed above the water layers. If set to '', the layer will be inserted above every existing layer. The 'below' property is a string and mu...
Determines if the choropleth polygons will be inserted before the layer with the specified ID. By default, choroplethmapbox traces are placed above the water layers. If set to '', the layer will be inserted above every existing layer. The 'below' property is a string and mu...
def below(self): """ Determines if the choropleth polygons will be inserted before the layer with the specified ID. By default, choroplethmapbox traces are placed above the water layers. If set to '', the layer will be inserted above every existing layer. The 'below'...
[ "def", "below", "(", "self", ")", ":", "return", "self", "[", "\"below\"", "]" ]
[ 86, 4 ]
[ 101, 28 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.coloraxis
(self)
Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be...
Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be...
def coloraxis(self): """ Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note t...
[ "def", "coloraxis", "(", "self", ")", ":", "return", "self", "[", "\"coloraxis\"", "]" ]
[ 110, 4 ]
[ 128, 32 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.colorbar
(self)
The 'colorbar' property is an instance of ColorBar that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.ColorBar` - A dict of string/value properties that will be passed to the ColorBar constructor Supported dict properti...
The 'colorbar' property is an instance of ColorBar that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.ColorBar` - A dict of string/value properties that will be passed to the ColorBar constructor Supported dict properti...
def colorbar(self): """ The 'colorbar' property is an instance of ColorBar that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.ColorBar` - A dict of string/value properties that will be passed to the ColorBar constructor ...
[ "def", "colorbar", "(", "self", ")", ":", "return", "self", "[", "\"colorbar\"", "]" ]
[ 137, 4 ]
[ 364, 31 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.colorscale
(self)
Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255...
Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255...
def colorscale(self): """ Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[...
[ "def", "colorscale", "(", "self", ")", ":", "return", "self", "[", "\"colorscale\"", "]" ]
[ 373, 4 ]
[ 416, 33 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 425, 4 ]
[ 439, 33 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 448, 4 ]
[ 460, 36 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.featureidkey
(self)
Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Support nested property, for example "properties.name". The 'featureidkey' property is a string and must be specified as: - A string - A number that will b...
Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Support nested property, for example "properties.name". The 'featureidkey' property is a string and must be specified as: - A string - A number that will b...
def featureidkey(self): """ Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Support nested property, for example "properties.name". The 'featureidkey' property is a string and must be specified as: - A stri...
[ "def", "featureidkey", "(", "self", ")", ":", "return", "self", "[", "\"featureidkey\"", "]" ]
[ 469, 4 ]
[ 483, 35 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.geojson
(self)
Sets the GeoJSON data associated with this trace. 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 geometries of type "Polygon" or "MultiPolygon". The 'geojson' property accepts value...
Sets the GeoJSON data associated with this trace. 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 geometries of type "Polygon" or "MultiPolygon". The 'geojson' property accepts value...
def geojson(self): """ Sets the GeoJSON data associated with this trace. 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 geometries of type "Polygon" or "MultiPolygon". The 'g...
[ "def", "geojson", "(", "self", ")", ":", "return", "self", "[", "\"geojson\"", "]" ]
[ 492, 4 ]
[ 505, 30 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 514, 4 ]
[ 531, 32 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 540, 4 ]
[ 552, 35 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.hoverlabel
(self)
The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor Supported dict ...
The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor Supported dict ...
def hoverlabel(self): """ The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor...
[ "def", "hoverlabel", "(", "self", ")", ":", "return", "self", "[", "\"hoverlabel\"", "]" ]
[ 561, 4 ]
[ 611, 33 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 620, 4 ]
[ 652, 36 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 661, 4 ]
[ 673, 39 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.hovertext
(self)
Same as `text`. The 'hovertext' property is a string and must be specified as: - A string - A number that will be converted to a string - A tuple, list, or one-dimensional numpy array of the above Returns ------- str|numpy.ndarray
Same as `text`. The 'hovertext' property is a string and must be specified as: - A string - A number that will be converted to a string - A tuple, list, or one-dimensional numpy array of the above
def hovertext(self): """ Same as `text`. The 'hovertext' property is a string and must be specified as: - A string - A number that will be converted to a string - A tuple, list, or one-dimensional numpy array of the above Returns ------- ...
[ "def", "hovertext", "(", "self", ")", ":", "return", "self", "[", "\"hovertext\"", "]" ]
[ 682, 4 ]
[ 695, 32 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 704, 4 ]
[ 716, 35 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 725, 4 ]
[ 738, 26 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 747, 4 ]
[ 758, 29 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 767, 4 ]
[ 781, 34 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.locations
(self)
Sets which features found in "geojson" to plot using their feature `id` field. The 'locations' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets which features found in "geojson" to plot using their feature `id` field. The 'locations' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def locations(self): """ Sets which features found in "geojson" to plot using their feature `id` field. The 'locations' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray "...
[ "def", "locations", "(", "self", ")", ":", "return", "self", "[", "\"locations\"", "]" ]
[ 790, 4 ]
[ 802, 32 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 811, 4 ]
[ 823, 35 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.marker
(self)
The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.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.choroplethmapbox.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.choroplethmapbox.Marker` - A dict of string/value properties that will be passed to the Marker constructor Su...
[ "def", "marker", "(", "self", ")", ":", "return", "self", "[", "\"marker\"", "]" ]
[ 832, 4 ]
[ 856, 29 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 865, 4 ]
[ 884, 27 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 893, 4 ]
[ 904, 30 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 913, 4 ]
[ 926, 27 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.reversescale
(self)
Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. The 'reversescale' property must be specified as a bool (either True, or False) Returns ------- bool ...
Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. The 'reversescale' property must be specified as a bool (either True, or False)
def reversescale(self): """ Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. The 'reversescale' property must be specified as a bool (either True, or False) Retu...
[ "def", "reversescale", "(", "self", ")", ":", "return", "self", "[", "\"reversescale\"", "]" ]
[ 935, 4 ]
[ 948, 35 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.selected
(self)
The 'selected' property is an instance of Selected that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.Selected` - A dict of string/value properties that will be passed to the Selected constructor Supported dict properti...
The 'selected' property is an instance of Selected that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.Selected` - A dict of string/value properties that will be passed to the Selected constructor Supported dict properti...
def selected(self): """ The 'selected' property is an instance of Selected that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.Selected` - A dict of string/value properties that will be passed to the Selected constructor ...
[ "def", "selected", "(", "self", ")", ":", "return", "self", "[", "\"selected\"", "]" ]
[ 957, 4 ]
[ 976, 31 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 985, 4 ]
[ 1000, 37 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 1009, 4 ]
[ 1021, 33 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.showscale
(self)
Determines whether or not a colorbar is displayed for this trace. The 'showscale' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not a colorbar is displayed for this trace. The 'showscale' property must be specified as a bool (either True, or False)
def showscale(self): """ Determines whether or not a colorbar is displayed for this trace. The 'showscale' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showscale"]
[ "def", "showscale", "(", "self", ")", ":", "return", "self", "[", "\"showscale\"", "]" ]
[ 1030, 4 ]
[ 1042, 32 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.stream
(self)
The 'stream' property is an instance of Stream that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.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.choroplethmapbox.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.choroplethmapbox.Stream` - A dict of string/value properties that will be passed to the Stream constructor Su...
[ "def", "stream", "(", "self", ")", ":", "return", "self", "[", "\"stream\"", "]" ]
[ 1051, 4 ]
[ 1075, 29 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.subplot
(self)
Sets a reference between this trace's data coordinates and a mapbox subplot. If "mapbox" (the default value), the data refer to `layout.mapbox`. If "mapbox2", the data refer to `layout.mapbox2`, and so on. The 'subplot' property is an identifier of a particular subp...
Sets a reference between this trace's data coordinates and a mapbox subplot. If "mapbox" (the default value), the data refer to `layout.mapbox`. If "mapbox2", the data refer to `layout.mapbox2`, and so on. The 'subplot' property is an identifier of a particular subp...
def subplot(self): """ Sets a reference between this trace's data coordinates and a mapbox subplot. If "mapbox" (the default value), the data refer to `layout.mapbox`. If "mapbox2", the data refer to `layout.mapbox2`, and so on. The 'subplot' property is an identifie...
[ "def", "subplot", "(", "self", ")", ":", "return", "self", "[", "\"subplot\"", "]" ]
[ 1084, 4 ]
[ 1100, 30 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.text
(self)
Sets the text elements associated with each location. The 'text' property is a string and must be specified as: - A string - A number that will be converted to a string - A tuple, list, or one-dimensional numpy array of the above Returns ------- ...
Sets the text elements associated with each location. The 'text' property is a string and must be specified as: - A string - A number that will be converted to a string - A tuple, list, or one-dimensional numpy array of the above
def text(self): """ Sets the text elements associated with each location. The 'text' property is a string and must be specified as: - A string - A number that will be converted to a string - A tuple, list, or one-dimensional numpy array of the above Re...
[ "def", "text", "(", "self", ")", ":", "return", "self", "[", "\"text\"", "]" ]
[ 1109, 4 ]
[ 1122, 27 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 1131, 4 ]
[ 1142, 30 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 1151, 4 ]
[ 1164, 26 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 1173, 4 ]
[ 1197, 33 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.unselected
(self)
The 'unselected' property is an instance of Unselected that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.Unselected` - A dict of string/value properties that will be passed to the Unselected constructor Supported dict ...
The 'unselected' property is an instance of Unselected that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.Unselected` - A dict of string/value properties that will be passed to the Unselected constructor Supported dict ...
def unselected(self): """ The 'unselected' property is an instance of Unselected that may be specified as: - An instance of :class:`plotly.graph_objs.choroplethmapbox.Unselected` - A dict of string/value properties that will be passed to the Unselected constructor...
[ "def", "unselected", "(", "self", ")", ":", "return", "self", "[", "\"unselected\"", "]" ]
[ 1206, 4 ]
[ 1225, 33 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 1234, 4 ]
[ 1248, 30 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.z
(self)
Sets the color values. The 'z' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the color values. The 'z' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def z(self): """ Sets the color values. The 'z' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["z"]
[ "def", "z", "(", "self", ")", ":", "return", "self", "[", "\"z\"", "]" ]
[ 1257, 4 ]
[ 1268, 24 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.zauto
(self)
Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. The 'zauto' property must be specified as a bool (either True,...
Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. The 'zauto' property must be specified as a bool (either True,...
def zauto(self): """ Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. The 'zauto' property must be specified as ...
[ "def", "zauto", "(", "self", ")", ":", "return", "self", "[", "\"zauto\"", "]" ]
[ 1277, 4 ]
[ 1291, 28 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.zmax
(self)
Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. The 'zmax' property is a number and may be specified as: - An int or float Returns ------- int|float
Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. The 'zmax' property is a number and may be specified as: - An int or float
def zmax(self): """ Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. The 'zmax' property is a number and may be specified as: - An int or float Returns ------- int|float ...
[ "def", "zmax", "(", "self", ")", ":", "return", "self", "[", "\"zmax\"", "]" ]
[ 1300, 4 ]
[ 1312, 27 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.zmid
(self)
Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. The 'zmid' property is a number and may be specified as: - An int or float R...
Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. The 'zmid' property is a number and may be specified as: - An int or float
def zmid(self): """ Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. The 'zmid' property is a number and may be specified as: -...
[ "def", "zmid", "(", "self", ")", ":", "return", "self", "[", "\"zmid\"", "]" ]
[ 1321, 4 ]
[ 1334, 27 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.zmin
(self)
Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. The 'zmin' property is a number and may be specified as: - An int or float Returns ------- int|float
Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. The 'zmin' property is a number and may be specified as: - An int or float
def zmin(self): """ Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. The 'zmin' property is a number and may be specified as: - An int or float Returns ------- int|float ...
[ "def", "zmin", "(", "self", ")", ":", "return", "self", "[", "\"zmin\"", "]" ]
[ 1343, 4 ]
[ 1355, 27 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.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\"", "]" ]
[ 1364, 4 ]
[ 1375, 27 ]
python
en
['en', 'error', 'th']
False
Choroplethmapbox.__init__
( self, arg=None, autocolorscale=None, below=None, coloraxis=None, colorbar=None, colorscale=None, customdata=None, customdatasrc=None, featureidkey=None, geojson=None, hoverinfo=None, hoverinfosrc=None, hove...
Construct a new Choroplethmapbox object GeoJSON features to be filled are set in `geojson` The data that describes the choropleth value-to-color mapping is set in `locations` and `z`. Parameters ---------- arg dict of properties compatible w...
Construct a new Choroplethmapbox object GeoJSON features to be filled are set in `geojson` The data that describes the choropleth value-to-color mapping is set in `locations` and `z`.
def __init__( self, arg=None, autocolorscale=None, below=None, coloraxis=None, colorbar=None, colorscale=None, customdata=None, customdatasrc=None, featureidkey=None, geojson=None, hoverinfo=None, hoverinfosrc=None, ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "autocolorscale", "=", "None", ",", "below", "=", "None", ",", "coloraxis", "=", "None", ",", "colorbar", "=", "None", ",", "colorscale", "=", "None", ",", "customdata", "=", "None", ",", ...
[ 1615, 4 ]
[ 2121, 34 ]
python
en
['en', 'error', 'th']
False
MenuRequestHandler.handle
(self, context: RequestContext, responder: BaseResponder)
Message handler logic for action menu requests. Args: context: request context responder: responder callback
Message handler logic for action menu requests.
async def handle(self, context: RequestContext, responder: BaseResponder): """ Message handler logic for action menu requests. Args: context: request context responder: responder callback """ self._logger.debug("MenuRequestHandler called with context %s",...
[ "async", "def", "handle", "(", "self", ",", "context", ":", "RequestContext", ",", "responder", ":", "BaseResponder", ")", ":", "self", ".", "_logger", ".", "debug", "(", "\"MenuRequestHandler called with context %s\"", ",", "context", ")", "assert", "isinstance",...
[ 11, 4 ]
[ 33, 16 ]
python
en
['en', 'error', 'th']
False
Selected.marker
(self)
The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.splom.selected.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.splom.selected.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.splom.selected.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supp...
[ "def", "marker", "(", "self", ")", ":", "return", "self", "[", "\"marker\"", "]" ]
[ 15, 4 ]
[ 36, 29 ]
python
en
['en', 'error', 'th']
False
Selected.__init__
(self, arg=None, marker=None, **kwargs)
Construct a new Selected object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.splom.Selected` marker :class:`plotly.graph_objects.splom.selected.M...
Construct a new Selected object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.splom.Selected` marker :class:`plotly.graph_objects.splom.selected.M...
def __init__(self, arg=None, marker=None, **kwargs): """ Construct a new Selected object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.splom.Selected` ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "marker", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Selected", ",", "self", ")", ".", "__init__", "(", "\"selected\"", ")", "if", "\"_parent\"", "in", "kwargs", ":", ...
[ 52, 4 ]
[ 110, 34 ]
python
en
['en', 'error', 'th']
False