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
Updatemenu.bordercolor
(self)
Sets the color of the border enclosing the update menu. 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 stri...
Sets the color of the border enclosing the update menu. 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 stri...
def bordercolor(self): """ Sets the color of the border enclosing the update menu. 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%,5...
[ "def", "bordercolor", "(", "self", ")", ":", "return", "self", "[", "\"bordercolor\"", "]" ]
[ 115, 4 ]
[ 165, 34 ]
python
en
['en', 'error', 'th']
False
Updatemenu.borderwidth
(self)
Sets the width (in px) of the border enclosing the update menu. 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 update menu. 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 update menu. 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[...
[ "def", "borderwidth", "(", "self", ")", ":", "return", "self", "[", "\"borderwidth\"", "]" ]
[ 174, 4 ]
[ 185, 34 ]
python
en
['en', 'error', 'th']
False
Updatemenu.buttons
(self)
The 'buttons' property is a tuple of instances of Button that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.updatemenu.Button - A list or tuple of dicts of string/value properties that will be passed to the Button constructor ...
The 'buttons' property is a tuple of instances of Button that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.updatemenu.Button - A list or tuple of dicts of string/value properties that will be passed to the Button constructor ...
def buttons(self): """ The 'buttons' property is a tuple of instances of Button that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.updatemenu.Button - A list or tuple of dicts of string/value properties that will be passed to the ...
[ "def", "buttons", "(", "self", ")", ":", "return", "self", "[", "\"buttons\"", "]" ]
[ 194, 4 ]
[ 262, 30 ]
python
en
['en', 'error', 'th']
False
Updatemenu.buttondefaults
(self)
When used in a template (as layout.template.layout.updatemenu.buttondefaults), sets the default property values to use for elements of layout.updatemenu.buttons The 'buttondefaults' property is an instance of Button that may be specified as: - An instance ...
When used in a template (as layout.template.layout.updatemenu.buttondefaults), sets the default property values to use for elements of layout.updatemenu.buttons The 'buttondefaults' property is an instance of Button that may be specified as: - An instance ...
def buttondefaults(self): """ When used in a template (as layout.template.layout.updatemenu.buttondefaults), sets the default property values to use for elements of layout.updatemenu.buttons The 'buttondefaults' property is an instance of Button that may be s...
[ "def", "buttondefaults", "(", "self", ")", ":", "return", "self", "[", "\"buttondefaults\"", "]" ]
[ 271, 4 ]
[ 290, 37 ]
python
en
['en', 'error', 'th']
False
Updatemenu.direction
(self)
Determines the direction in which the buttons are laid out, whether in a dropdown menu or a row/column of buttons. For `left` and `up`, the buttons will still appear in left-to-right or top-to-bottom order respectively. The 'direction' property is an enumeration that may be...
Determines the direction in which the buttons are laid out, whether in a dropdown menu or a row/column of buttons. For `left` and `up`, the buttons will still appear in left-to-right or top-to-bottom order respectively. The 'direction' property is an enumeration that may be...
def direction(self): """ Determines the direction in which the buttons are laid out, whether in a dropdown menu or a row/column of buttons. For `left` and `up`, the buttons will still appear in left-to-right or top-to-bottom order respectively. The 'direction' proper...
[ "def", "direction", "(", "self", ")", ":", "return", "self", "[", "\"direction\"", "]" ]
[ 299, 4 ]
[ 314, 32 ]
python
en
['en', 'error', 'th']
False
Updatemenu.font
(self)
Sets the font of the update menu button text. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.layout.updatemenu.Font` - A dict of string/value properties that will be passed to the Font construc...
Sets the font of the update menu button text. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.layout.updatemenu.Font` - A dict of string/value properties that will be passed to the Font construc...
def font(self): """ Sets the font of the update menu button text. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.layout.updatemenu.Font` - A dict of string/value properties that will be passed ...
[ "def", "font", "(", "self", ")", ":", "return", "self", "[", "\"font\"", "]" ]
[ 323, 4 ]
[ 360, 27 ]
python
en
['en', 'error', 'th']
False
Updatemenu.name
(self)
When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications ...
When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications ...
def name(self): """ When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` al...
[ "def", "name", "(", "self", ")", ":", "return", "self", "[", "\"name\"", "]" ]
[ 369, 4 ]
[ 387, 27 ]
python
en
['en', 'error', 'th']
False
Updatemenu.pad
(self)
Sets the padding around the buttons or dropdown menu. The 'pad' property is an instance of Pad that may be specified as: - An instance of :class:`plotly.graph_objs.layout.updatemenu.Pad` - A dict of string/value properties that will be passed to the Pad cons...
Sets the padding around the buttons or dropdown menu. The 'pad' property is an instance of Pad that may be specified as: - An instance of :class:`plotly.graph_objs.layout.updatemenu.Pad` - A dict of string/value properties that will be passed to the Pad cons...
def pad(self): """ Sets the padding around the buttons or dropdown menu. The 'pad' property is an instance of Pad that may be specified as: - An instance of :class:`plotly.graph_objs.layout.updatemenu.Pad` - A dict of string/value properties that will be passed ...
[ "def", "pad", "(", "self", ")", ":", "return", "self", "[", "\"pad\"", "]" ]
[ 396, 4 ]
[ 425, 26 ]
python
en
['en', 'error', 'th']
False
Updatemenu.showactive
(self)
Highlights active dropdown item or active button if true. The 'showactive' property must be specified as a bool (either True, or False) Returns ------- bool
Highlights active dropdown item or active button if true. The 'showactive' property must be specified as a bool (either True, or False)
def showactive(self): """ Highlights active dropdown item or active button if true. The 'showactive' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showactive"]
[ "def", "showactive", "(", "self", ")", ":", "return", "self", "[", "\"showactive\"", "]" ]
[ 434, 4 ]
[ 445, 33 ]
python
en
['en', 'error', 'th']
False
Updatemenu.templateitemname
(self)
Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (includ...
Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (includ...
def templateitemname(self): """ Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, ...
[ "def", "templateitemname", "(", "self", ")", ":", "return", "self", "[", "\"templateitemname\"", "]" ]
[ 454, 4 ]
[ 473, 39 ]
python
en
['en', 'error', 'th']
False
Updatemenu.type
(self)
Determines whether the buttons are accessible via a dropdown menu or whether the buttons are stacked horizontally or vertically The 'type' property is an enumeration that may be specified as: - One of the following enumeration values: ['dropdown', 'buttons...
Determines whether the buttons are accessible via a dropdown menu or whether the buttons are stacked horizontally or vertically The 'type' property is an enumeration that may be specified as: - One of the following enumeration values: ['dropdown', 'buttons...
def type(self): """ Determines whether the buttons are accessible via a dropdown menu or whether the buttons are stacked horizontally or vertically The 'type' property is an enumeration that may be specified as: - One of the following enumeration values: ...
[ "def", "type", "(", "self", ")", ":", "return", "self", "[", "\"type\"", "]" ]
[ 482, 4 ]
[ 496, 27 ]
python
en
['en', 'error', 'th']
False
Updatemenu.visible
(self)
Determines whether or not the update menu is visible. The 'visible' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not the update menu is visible. The 'visible' property must be specified as a bool (either True, or False)
def visible(self): """ Determines whether or not the update menu is visible. The 'visible' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["visible"]
[ "def", "visible", "(", "self", ")", ":", "return", "self", "[", "\"visible\"", "]" ]
[ 505, 4 ]
[ 516, 30 ]
python
en
['en', 'error', 'th']
False
Updatemenu.x
(self)
Sets the x position (in normalized coordinates) of the update menu. The 'x' property is a number and may be specified as: - An int or float in the interval [-2, 3] Returns ------- int|float
Sets the x position (in normalized coordinates) of the update menu. The 'x' property is a number and may be specified as: - An int or float in the interval [-2, 3]
def x(self): """ Sets the x position (in normalized coordinates) of the update menu. The 'x' property is a number and may be specified as: - An int or float in the interval [-2, 3] Returns ------- int|float """ return self["x"]
[ "def", "x", "(", "self", ")", ":", "return", "self", "[", "\"x\"", "]" ]
[ 525, 4 ]
[ 537, 24 ]
python
en
['en', 'error', 'th']
False
Updatemenu.xanchor
(self)
Sets the update menu's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the range selector. The 'xanchor' property is an enumeration that may be specified as: - One of the following enumeration values: ['...
Sets the update menu's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the range selector. The 'xanchor' property is an enumeration that may be specified as: - One of the following enumeration values: ['...
def xanchor(self): """ Sets the update menu's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the range selector. The 'xanchor' property is an enumeration that may be specified as: - One of the following enumerat...
[ "def", "xanchor", "(", "self", ")", ":", "return", "self", "[", "\"xanchor\"", "]" ]
[ 546, 4 ]
[ 560, 30 ]
python
en
['en', 'error', 'th']
False
Updatemenu.y
(self)
Sets the y position (in normalized coordinates) of the update menu. The 'y' property is a number and may be specified as: - An int or float in the interval [-2, 3] Returns ------- int|float
Sets the y position (in normalized coordinates) of the update menu. The 'y' property is a number and may be specified as: - An int or float in the interval [-2, 3]
def y(self): """ Sets the y position (in normalized coordinates) of the update menu. The 'y' property is a number and may be specified as: - An int or float in the interval [-2, 3] Returns ------- int|float """ return self["y"]
[ "def", "y", "(", "self", ")", ":", "return", "self", "[", "\"y\"", "]" ]
[ 569, 4 ]
[ 581, 24 ]
python
en
['en', 'error', 'th']
False
Updatemenu.yanchor
(self)
Sets the update menu's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the range selector. The 'yanchor' property is an enumeration that may be specified as: - One of the following enumeration values: ['aut...
Sets the update menu's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the range selector. The 'yanchor' property is an enumeration that may be specified as: - One of the following enumeration values: ['aut...
def yanchor(self): """ Sets the update menu's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the range selector. The 'yanchor' property is an enumeration that may be specified as: - One of the following enumeration...
[ "def", "yanchor", "(", "self", ")", ":", "return", "self", "[", "\"yanchor\"", "]" ]
[ 590, 4 ]
[ 604, 30 ]
python
en
['en', 'error', 'th']
False
Updatemenu.__init__
( self, arg=None, active=None, bgcolor=None, bordercolor=None, borderwidth=None, buttons=None, buttondefaults=None, direction=None, font=None, name=None, pad=None, showactive=None, templateitemname=None, ...
Construct a new Updatemenu object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.Updatemenu` active Determines which button (by index starti...
Construct a new Updatemenu object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.Updatemenu` active Determines which button (by index starti...
def __init__( self, arg=None, active=None, bgcolor=None, bordercolor=None, borderwidth=None, buttons=None, buttondefaults=None, direction=None, font=None, name=None, pad=None, showactive=None, templateitemnam...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "active", "=", "None", ",", "bgcolor", "=", "None", ",", "bordercolor", "=", "None", ",", "borderwidth", "=", "None", ",", "buttons", "=", "None", ",", "buttondefaults", "=", "None", ",", ...
[ 688, 4 ]
[ 904, 34 ]
python
en
['en', 'error', 'th']
False
LocalHumanAgent.add_cmdline_args
( cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None )
Add command-line arguments specifically for this agent.
Add command-line arguments specifically for this agent.
def add_cmdline_args( cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None ) -> ParlaiParser: """ Add command-line arguments specifically for this agent. """ agent = parser.add_argument_group('Local Human Arguments') agent.add_argument( '-fixedCand...
[ "def", "add_cmdline_args", "(", "cls", ",", "parser", ":", "ParlaiParser", ",", "partial_opt", ":", "Optional", "[", "Opt", "]", "=", "None", ")", "->", "ParlaiParser", ":", "agent", "=", "parser", ".", "add_argument_group", "(", "'Local Human Arguments'", ")"...
[ 22, 4 ]
[ 42, 21 ]
python
en
['en', 'error', 'th']
False
endpts_to_intervals
(endpts)
Returns a list of intervals for categorical colormaps Accepts a list or tuple of sequentially increasing numbers and returns a list representation of the mathematical intervals with these numbers as endpoints. For example, [1, 6] returns [[-inf, 1], [1, 6], [6, inf]] :raises: (PlotlyError) If inp...
Returns a list of intervals for categorical colormaps
def endpts_to_intervals(endpts): """ Returns a list of intervals for categorical colormaps Accepts a list or tuple of sequentially increasing numbers and returns a list representation of the mathematical intervals with these numbers as endpoints. For example, [1, 6] returns [[-inf, 1], [1, 6], [6, ...
[ "def", "endpts_to_intervals", "(", "endpts", ")", ":", "length", "=", "len", "(", "endpts", ")", "# Check if endpts is a list or tuple", "if", "not", "(", "isinstance", "(", "endpts", ",", "(", "tuple", ")", ")", "or", "isinstance", "(", "endpts", ",", "(", ...
[ 16, 0 ]
[ 66, 24 ]
python
en
['en', 'error', 'th']
False
hide_tick_labels_from_box_subplots
(fig)
Hides tick labels for box plots in scatterplotmatrix subplots.
Hides tick labels for box plots in scatterplotmatrix subplots.
def hide_tick_labels_from_box_subplots(fig): """ Hides tick labels for box plots in scatterplotmatrix subplots. """ boxplot_xaxes = [] for trace in fig["data"]: if trace["type"] == "box": # stores the xaxes which correspond to boxplot subplots # since we use xaxis1, x...
[ "def", "hide_tick_labels_from_box_subplots", "(", "fig", ")", ":", "boxplot_xaxes", "=", "[", "]", "for", "trace", "in", "fig", "[", "\"data\"", "]", ":", "if", "trace", "[", "\"type\"", "]", "==", "\"box\"", ":", "# stores the xaxes which correspond to boxplot su...
[ 69, 0 ]
[ 80, 54 ]
python
en
['en', 'error', 'th']
False
validate_scatterplotmatrix
(df, index, diag, colormap_type, **kwargs)
Validates basic inputs for FigureFactory.create_scatterplotmatrix() :raises: (PlotlyError) If pandas is not imported :raises: (PlotlyError) If pandas dataframe is not inputted :raises: (PlotlyError) If pandas dataframe has <= 1 columns :raises: (PlotlyError) If diagonal plot choice (diag) is not o...
Validates basic inputs for FigureFactory.create_scatterplotmatrix()
def validate_scatterplotmatrix(df, index, diag, colormap_type, **kwargs): """ Validates basic inputs for FigureFactory.create_scatterplotmatrix() :raises: (PlotlyError) If pandas is not imported :raises: (PlotlyError) If pandas dataframe is not inputted :raises: (PlotlyError) If pandas dataframe ha...
[ "def", "validate_scatterplotmatrix", "(", "df", ",", "index", ",", "diag", ",", "colormap_type", ",", "*", "*", "kwargs", ")", ":", "if", "not", "pd", ":", "raise", "ImportError", "(", "\"FigureFactory.scatterplotmatrix requires \"", "\"a pandas DataFrame.\"", ")", ...
[ 83, 0 ]
[ 145, 13 ]
python
en
['en', 'error', 'th']
False
scatterplot
(dataframe, headers, diag, size, height, width, title, **kwargs)
Refer to FigureFactory.create_scatterplotmatrix() for docstring Returns fig for scatterplotmatrix without index
Refer to FigureFactory.create_scatterplotmatrix() for docstring
def scatterplot(dataframe, headers, diag, size, height, width, title, **kwargs): """ Refer to FigureFactory.create_scatterplotmatrix() for docstring Returns fig for scatterplotmatrix without index """ dim = len(dataframe) fig = make_subplots(rows=dim, cols=dim, print_grid=False) trace_list...
[ "def", "scatterplot", "(", "dataframe", ",", "headers", ",", "diag", ",", "size", ",", "height", ",", "width", ",", "title", ",", "*", "*", "kwargs", ")", ":", "dim", "=", "len", "(", "dataframe", ")", "fig", "=", "make_subplots", "(", "rows", "=", ...
[ 148, 0 ]
[ 202, 14 ]
python
en
['en', 'error', 'th']
False
scatterplot_dict
( dataframe, headers, diag, size, height, width, title, index, index_vals, endpts, colormap, colormap_type, **kwargs )
Refer to FigureFactory.create_scatterplotmatrix() for docstring Returns fig for scatterplotmatrix with both index and colormap picked. Used if colormap is a dictionary with index values as keys pointing to colors. Forces colormap_type to behave categorically because it would not make sense colors ...
Refer to FigureFactory.create_scatterplotmatrix() for docstring
def scatterplot_dict( dataframe, headers, diag, size, height, width, title, index, index_vals, endpts, colormap, colormap_type, **kwargs ): """ Refer to FigureFactory.create_scatterplotmatrix() for docstring Returns fig for scatterplotmatrix with both ind...
[ "def", "scatterplot_dict", "(", "dataframe", ",", "headers", ",", "diag", ",", "size", ",", "height", ",", "width", ",", "title", ",", "index", ",", "index_vals", ",", "endpts", ",", "colormap", ",", "colormap_type", ",", "*", "*", "kwargs", ")", ":", ...
[ 205, 0 ]
[ 357, 18 ]
python
en
['en', 'error', 'th']
False
scatterplot_theme
( dataframe, headers, diag, size, height, width, title, index, index_vals, endpts, colormap, colormap_type, **kwargs )
Refer to FigureFactory.create_scatterplotmatrix() for docstring Returns fig for scatterplotmatrix with both index and colormap picked
Refer to FigureFactory.create_scatterplotmatrix() for docstring
def scatterplot_theme( dataframe, headers, diag, size, height, width, title, index, index_vals, endpts, colormap, colormap_type, **kwargs ): """ Refer to FigureFactory.create_scatterplotmatrix() for docstring Returns fig for scatterplotmatrix with both in...
[ "def", "scatterplot_theme", "(", "dataframe", ",", "headers", ",", "diag", ",", "size", ",", "height", ",", "width", ",", "title", ",", "index", ",", "index_vals", ",", "endpts", ",", "colormap", ",", "colormap_type", ",", "*", "*", "kwargs", ")", ":", ...
[ 360, 0 ]
[ 836, 26 ]
python
en
['en', 'error', 'th']
False
create_scatterplotmatrix
( df, index=None, endpts=None, diag="scatter", height=500, width=500, size=6, title="Scatterplot Matrix", colormap=None, colormap_type="cat", dataframe=None, headers=None, index_vals=None, **kwargs )
Returns data for a scatterplot matrix; **deprecated**, use instead the plotly.graph_objects trace :class:`plotly.graph_objects.Splom`. :param (array) df: array of the data with column headers :param (str) index: name of the index column in data array :param (list|tuple) endpts: takes an in...
Returns data for a scatterplot matrix; **deprecated**, use instead the plotly.graph_objects trace :class:`plotly.graph_objects.Splom`.
def create_scatterplotmatrix( df, index=None, endpts=None, diag="scatter", height=500, width=500, size=6, title="Scatterplot Matrix", colormap=None, colormap_type="cat", dataframe=None, headers=None, index_vals=None, **kwargs ): """ Returns data for a scat...
[ "def", "create_scatterplotmatrix", "(", "df", ",", "index", "=", "None", ",", "endpts", "=", "None", ",", "diag", "=", "\"scatter\"", ",", "height", "=", "500", ",", "width", "=", "500", ",", "size", "=", "6", ",", "title", "=", "\"Scatterplot Matrix\"",...
[ 839, 0 ]
[ 1142, 25 ]
python
en
['en', 'error', 'th']
False
Marker.colors
(self)
Sets the color of each sector. If not specified, the default trace color set is used to pick the sector colors. The 'colors' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the color of each sector. If not specified, the default trace color set is used to pick the sector colors. The 'colors' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def colors(self): """ Sets the color of each sector. If not specified, the default trace color set is used to pick the sector colors. The 'colors' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- ...
[ "def", "colors", "(", "self", ")", ":", "return", "self", "[", "\"colors\"", "]" ]
[ 15, 4 ]
[ 27, 29 ]
python
en
['en', 'error', 'th']
False
Marker.colorssrc
(self)
Sets the source reference on Chart Studio Cloud for colors . The 'colorssrc' 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 colors . The 'colorssrc' property must be specified as a string or as a plotly.grid_objs.Column object
def colorssrc(self): """ Sets the source reference on Chart Studio Cloud for colors . The 'colorssrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["colorssrc"]
[ "def", "colorssrc", "(", "self", ")", ":", "return", "self", "[", "\"colorssrc\"", "]" ]
[ 36, 4 ]
[ 47, 32 ]
python
en
['en', 'error', 'th']
False
Marker.line
(self)
The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.pie.marker.Line` - A dict of string/value properties that will be passed to the Line constructor Supported dict properties: ...
The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.pie.marker.Line` - A dict of string/value properties that will be passed to the Line constructor Supported dict properties: ...
def line(self): """ The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.pie.marker.Line` - A dict of string/value properties that will be passed to the Line constructor Supported dict pro...
[ "def", "line", "(", "self", ")", ":", "return", "self", "[", "\"line\"", "]" ]
[ 56, 4 ]
[ 83, 27 ]
python
en
['en', 'error', 'th']
False
Marker.__init__
(self, arg=None, colors=None, colorssrc=None, line=None, **kwargs)
Construct a new Marker object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.pie.Marker` colors Sets the color of each sector. If not specified, the ...
Construct a new Marker object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.pie.Marker` colors Sets the color of each sector. If not specified, the ...
def __init__(self, arg=None, colors=None, colorssrc=None, line=None, **kwargs): """ Construct a new Marker object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.pie.Marker`...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "colors", "=", "None", ",", "colorssrc", "=", "None", ",", "line", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Marker", ",", "self", ")", ".", "__init__", "(", "\"ma...
[ 106, 4 ]
[ 178, 34 ]
python
en
['en', 'error', 'th']
False
make_linear_colorscale
(colors)
Makes a list of colors into a colorscale-acceptable form For documentation regarding to the form of the output, see https://plot.ly/python/reference/#mesh3d-colorscale
Makes a list of colors into a colorscale-acceptable form
def make_linear_colorscale(colors): """ Makes a list of colors into a colorscale-acceptable form For documentation regarding to the form of the output, see https://plot.ly/python/reference/#mesh3d-colorscale """ scale = 1.0 / (len(colors) - 1) return [[i * scale, color] for i, color in enum...
[ "def", "make_linear_colorscale", "(", "colors", ")", ":", "scale", "=", "1.0", "/", "(", "len", "(", "colors", ")", "-", "1", ")", "return", "[", "[", "i", "*", "scale", ",", "color", "]", "for", "i", ",", "color", "in", "enumerate", "(", "colors",...
[ 10, 0 ]
[ 18, 65 ]
python
en
['en', 'error', 'th']
False
create_2d_density
( x, y, colorscale="Earth", ncontours=20, hist_color=(0, 0, 0.5), point_color=(0, 0, 0.5), point_size=2, title="2D Density Plot", height=600, width=600, )
**deprecated**, use instead :func:`plotly.express.density_heatmap`. :param (list|array) x: x-axis data for plot generation :param (list|array) y: y-axis data for plot generation :param (str|tuple|list) colorscale: either a plotly scale name, an rgb or hex color, a color tuple or a list or ...
**deprecated**, use instead :func:`plotly.express.density_heatmap`.
def create_2d_density( x, y, colorscale="Earth", ncontours=20, hist_color=(0, 0, 0.5), point_color=(0, 0, 0.5), point_size=2, title="2D Density Plot", height=600, width=600, ): """ **deprecated**, use instead :func:`plotly.express.density_heatmap`. :param (list|a...
[ "def", "create_2d_density", "(", "x", ",", "y", ",", "colorscale", "=", "\"Earth\"", ",", "ncontours", "=", "20", ",", "hist_color", "=", "(", "0", ",", "0", ",", "0.5", ")", ",", "point_color", "=", "(", "0", ",", "0", ",", "0.5", ")", ",", "poi...
[ 21, 0 ]
[ 156, 14 ]
python
en
['en', 'error', 'th']
False
Tickfont.color
(self)
The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - A named CSS color: ...
The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - A named CSS color: ...
def color(self): """ The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - A name...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 15, 4 ]
[ 63, 28 ]
python
en
['en', 'error', 'th']
False
Tickfont.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
Tickfont.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
Tickfont.__init__
(self, arg=None, color=None, family=None, size=None, **kwargs)
Construct a new Tickfont object Sets the color bar's tick label font Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.mesh3d.colorbar.Tickfont` color ...
Construct a new Tickfont object Sets the color bar's tick label font
def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): """ Construct a new Tickfont object Sets the color bar's tick label font Parameters ---------- arg dict of properties compatible with this constructor or an insta...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "family", "=", "None", ",", "size", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Tickfont", ",", "self", ")", ".", "__init__", "(", "\"tick...
[ 143, 4 ]
[ 226, 34 ]
python
en
['en', 'error', 'th']
False
Axis.dtick
(self)
Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n*dtick) where n is the tick number. For example, to set a tick mark at 1, 1...
Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n*dtick) where n is the tick number. For example, to set a tick mark at 1, 1...
def dtick(self): """ Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n*dtick) where n is the tick number. For example...
[ "def", "dtick", "(", "self", ")", ":", "return", "self", "[", "\"dtick\"", "]" ]
[ 43, 4 ]
[ 72, 28 ]
python
en
['en', 'error', 'th']
False
Axis.exponentformat
(self)
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B. The 'exponentformat' prop...
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B. The 'exponentformat' prop...
def exponentformat(self): """ Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B. ...
[ "def", "exponentformat", "(", "self", ")", ":", "return", "self", "[", "\"exponentformat\"", "]" ]
[ 81, 4 ]
[ 97, 37 ]
python
en
['en', 'error', 'th']
False
Axis.nticks
(self)
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto". The 'nticks' property is a integer and may be specified as: ...
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto". The 'nticks' property is a integer and may be specified as: ...
def nticks(self): """ Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto". The 'nticks' property is a integer an...
[ "def", "nticks", "(", "self", ")", ":", "return", "self", "[", "\"nticks\"", "]" ]
[ 106, 4 ]
[ 121, 29 ]
python
en
['en', 'error', 'th']
False
Axis.range
(self)
Sets the range of this 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 may be specified as: - An int or float (1) The 'range[1]' property is a number and may be s...
Sets the range of this 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 may be specified as: - An int or float (1) The 'range[1]' property is a number and may be s...
def range(self): """ Sets the range of this 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 may be specified as: - An int or float (1) The 'range[1]' prope...
[ "def", "range", "(", "self", ")", ":", "return", "self", "[", "\"range\"", "]" ]
[ 130, 4 ]
[ 146, 28 ]
python
en
['en', 'error', 'th']
False
Axis.separatethousands
(self)
If "true", even 4-digit integers are separated The 'separatethousands' property must be specified as a bool (either True, or False) Returns ------- bool
If "true", even 4-digit integers are separated The 'separatethousands' property must be specified as a bool (either True, or False)
def separatethousands(self): """ If "true", even 4-digit integers are separated The 'separatethousands' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["separatethousands"]
[ "def", "separatethousands", "(", "self", ")", ":", "return", "self", "[", "\"separatethousands\"", "]" ]
[ 155, 4 ]
[ 166, 40 ]
python
en
['en', 'error', 'th']
False
Axis.showexponent
(self)
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear. The 'showexponent' property is an enumeration that may be specifie...
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear. The 'showexponent' property is an enumeration that may be specifie...
def showexponent(self): """ If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear. The 'showexponent' property is ...
[ "def", "showexponent", "(", "self", ")", ":", "return", "self", "[", "\"showexponent\"", "]" ]
[ 175, 4 ]
[ 190, 35 ]
python
en
['en', 'error', 'th']
False
Axis.showticklabels
(self)
Determines whether or not the tick labels are drawn. The 'showticklabels' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not the tick labels are drawn. The 'showticklabels' property must be specified as a bool (either True, or False)
def showticklabels(self): """ Determines whether or not the tick labels are drawn. The 'showticklabels' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showticklabels"]
[ "def", "showticklabels", "(", "self", ")", ":", "return", "self", "[", "\"showticklabels\"", "]" ]
[ 199, 4 ]
[ 210, 37 ]
python
en
['en', 'error', 'th']
False
Axis.showtickprefix
(self)
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden. The 'showtickprefix' property is an enumeration that may be spec...
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden. The 'showtickprefix' property is an enumeration that may be spec...
def showtickprefix(self): """ If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden. The 'showtickprefix' proper...
[ "def", "showtickprefix", "(", "self", ")", ":", "return", "self", "[", "\"showtickprefix\"", "]" ]
[ 219, 4 ]
[ 234, 37 ]
python
en
['en', 'error', 'th']
False
Axis.showticksuffix
(self)
Same as `showtickprefix` but for tick suffixes. The 'showticksuffix' property is an enumeration that may be specified as: - One of the following enumeration values: ['all', 'first', 'last', 'none'] Returns ------- Any
Same as `showtickprefix` but for tick suffixes. The 'showticksuffix' property is an enumeration that may be specified as: - One of the following enumeration values: ['all', 'first', 'last', 'none']
def showticksuffix(self): """ Same as `showtickprefix` but for tick suffixes. The 'showticksuffix' property is an enumeration that may be specified as: - One of the following enumeration values: ['all', 'first', 'last', 'none'] Returns ------- ...
[ "def", "showticksuffix", "(", "self", ")", ":", "return", "self", "[", "\"showticksuffix\"", "]" ]
[ 243, 4 ]
[ 255, 37 ]
python
en
['en', 'error', 'th']
False
Axis.tick0
(self)
Sets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see `dtick` for more info). If the axis `ty...
Sets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see `dtick` for more info). If the axis `ty...
def tick0(self): """ Sets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see `dtick` for...
[ "def", "tick0", "(", "self", ")", ":", "return", "self", "[", "\"tick0\"", "]" ]
[ 264, 4 ]
[ 282, 28 ]
python
en
['en', 'error', 'th']
False
Axis.tickangle
(self)
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically. The 'tickangle' property is a angle (in degrees) that may be specified as a number between -180 and 180. Numeric values outside this ...
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically. The 'tickangle' property is a angle (in degrees) that may be specified as a number between -180 and 180. Numeric values outside this ...
def tickangle(self): """ Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically. The 'tickangle' property is a angle (in degrees) that may be specified as a number between -180 and 180. Num...
[ "def", "tickangle", "(", "self", ")", ":", "return", "self", "[", "\"tickangle\"", "]" ]
[ 291, 4 ]
[ 306, 32 ]
python
en
['en', 'error', 'th']
False
Axis.tickcolor
(self)
Sets the tick color. 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)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
Sets the tick color. 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)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
def tickcolor(self): """ Sets the tick color. 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)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e...
[ "def", "tickcolor", "(", "self", ")", ":", "return", "self", "[", "\"tickcolor\"", "]" ]
[ 315, 4 ]
[ 365, 32 ]
python
en
['en', 'error', 'th']
False
Axis.tickfont
(self)
Sets the color bar's tick label font The 'tickfont' property is an instance of Tickfont that may be specified as: - An instance of :class:`plotly.graph_objs.indicator.gauge.axis.Tickfont` - A dict of string/value properties that will be passed to the Tickfon...
Sets the color bar's tick label font The 'tickfont' property is an instance of Tickfont that may be specified as: - An instance of :class:`plotly.graph_objs.indicator.gauge.axis.Tickfont` - A dict of string/value properties that will be passed to the Tickfon...
def tickfont(self): """ Sets the color bar's tick label font The 'tickfont' property is an instance of Tickfont that may be specified as: - An instance of :class:`plotly.graph_objs.indicator.gauge.axis.Tickfont` - A dict of string/value properties that will be pa...
[ "def", "tickfont", "(", "self", ")", ":", "return", "self", "[", "\"tickfont\"", "]" ]
[ 374, 4 ]
[ 411, 31 ]
python
en
['en', 'error', 'th']
False
Axis.tickformat
(self)
Sets the tick label formatting rule using d3 formatting mini- languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-3.x-api- reference/blob/master/Formatting.md#d3_format And for dates see: https://github.com/d3/d3-3.x-api- refer...
Sets the tick label formatting rule using d3 formatting mini- languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-3.x-api- reference/blob/master/Formatting.md#d3_format And for dates see: https://github.com/d3/d3-3.x-api- refer...
def tickformat(self): """ Sets the tick label formatting rule using d3 formatting mini- languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-3.x-api- reference/blob/master/Formatting.md#d3_format And for dates see: https://github...
[ "def", "tickformat", "(", "self", ")", ":", "return", "self", "[", "\"tickformat\"", "]" ]
[ 420, 4 ]
[ 440, 33 ]
python
en
['en', 'error', 'th']
False
Axis.tickformatstops
(self)
The 'tickformatstops' property is a tuple of instances of Tickformatstop that may be specified as: - A list or tuple of instances of plotly.graph_objs.indicator.gauge.axis.Tickformatstop - A list or tuple of dicts of string/value properties that will be passed to the Tic...
The 'tickformatstops' property is a tuple of instances of Tickformatstop that may be specified as: - A list or tuple of instances of plotly.graph_objs.indicator.gauge.axis.Tickformatstop - A list or tuple of dicts of string/value properties that will be passed to the Tic...
def tickformatstops(self): """ The 'tickformatstops' property is a tuple of instances of Tickformatstop that may be specified as: - A list or tuple of instances of plotly.graph_objs.indicator.gauge.axis.Tickformatstop - A list or tuple of dicts of string/value properties that...
[ "def", "tickformatstops", "(", "self", ")", ":", "return", "self", "[", "\"tickformatstops\"", "]" ]
[ 449, 4 ]
[ 497, 38 ]
python
en
['en', 'error', 'th']
False
Axis.tickformatstopdefaults
(self)
When used in a template (as layout.template.data.indicator.gaug e.axis.tickformatstopdefaults), sets the default property values to use for elements of indicator.gauge.axis.tickformatstops The 'tickformatstopdefaults' property is an instance of Tickformatstop that m...
When used in a template (as layout.template.data.indicator.gaug e.axis.tickformatstopdefaults), sets the default property values to use for elements of indicator.gauge.axis.tickformatstops The 'tickformatstopdefaults' property is an instance of Tickformatstop that m...
def tickformatstopdefaults(self): """ When used in a template (as layout.template.data.indicator.gaug e.axis.tickformatstopdefaults), sets the default property values to use for elements of indicator.gauge.axis.tickformatstops The 'tickformatstopdefaults' property is...
[ "def", "tickformatstopdefaults", "(", "self", ")", ":", "return", "self", "[", "\"tickformatstopdefaults\"", "]" ]
[ 506, 4 ]
[ 525, 45 ]
python
en
['en', 'error', 'th']
False
Axis.ticklen
(self)
Sets the tick length (in px). The 'ticklen' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the tick length (in px). The 'ticklen' property is a number and may be specified as: - An int or float in the interval [0, inf]
def ticklen(self): """ Sets the tick length (in px). The 'ticklen' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["ticklen"]
[ "def", "ticklen", "(", "self", ")", ":", "return", "self", "[", "\"ticklen\"", "]" ]
[ 534, 4 ]
[ 545, 30 ]
python
en
['en', 'error', 'th']
False
Axis.tickmode
(self)
Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the...
Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the...
def tickmode(self): """ Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick`...
[ "def", "tickmode", "(", "self", ")", ":", "return", "self", "[", "\"tickmode\"", "]" ]
[ 554, 4 ]
[ 572, 31 ]
python
en
['en', 'error', 'th']
False
Axis.tickprefix
(self)
Sets a tick label prefix. The 'tickprefix' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
Sets a tick label prefix. The 'tickprefix' property is a string and must be specified as: - A string - A number that will be converted to a string
def tickprefix(self): """ Sets a tick label prefix. The 'tickprefix' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str """ return self["tickprefix"]
[ "def", "tickprefix", "(", "self", ")", ":", "return", "self", "[", "\"tickprefix\"", "]" ]
[ 581, 4 ]
[ 593, 33 ]
python
en
['en', 'error', 'th']
False
Axis.ticks
(self)
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines. The 'ticks' property is an enumeration that may be specified as: - One of the following enumeration values: ...
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines. The 'ticks' property is an enumeration that may be specified as: - One of the following enumeration values: ...
def ticks(self): """ Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines. The 'ticks' property is an enumeration that may be specified as: - One of the follo...
[ "def", "ticks", "(", "self", ")", ":", "return", "self", "[", "\"ticks\"", "]" ]
[ 602, 4 ]
[ 616, 28 ]
python
en
['en', 'error', 'th']
False
Axis.ticksuffix
(self)
Sets a tick label suffix. The 'ticksuffix' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
Sets a tick label suffix. 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): """ Sets a tick label suffix. The 'ticksuffix' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str """ return self["ticksuffix"]
[ "def", "ticksuffix", "(", "self", ")", ":", "return", "self", "[", "\"ticksuffix\"", "]" ]
[ 625, 4 ]
[ 637, 33 ]
python
en
['en', 'error', 'th']
False
Axis.ticktext
(self)
Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`. The 'ticktext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns -------...
Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`. The 'ticktext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def ticktext(self): """ Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`. The 'ticktext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series ...
[ "def", "ticktext", "(", "self", ")", ":", "return", "self", "[", "\"ticktext\"", "]" ]
[ 646, 4 ]
[ 659, 31 ]
python
en
['en', 'error', 'th']
False
Axis.ticktextsrc
(self)
Sets the source reference on Chart Studio Cloud for ticktext . The 'ticktextsrc' 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 ticktext . The 'ticktextsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def ticktextsrc(self): """ Sets the source reference on Chart Studio Cloud for ticktext . The 'ticktextsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["ticktextsrc"]
[ "def", "ticktextsrc", "(", "self", ")", ":", "return", "self", "[", "\"ticktextsrc\"", "]" ]
[ 668, 4 ]
[ 679, 34 ]
python
en
['en', 'error', 'th']
False
Axis.tickvals
(self)
Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`. The 'tickvals' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.nda...
Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`. The 'tickvals' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def tickvals(self): """ Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`. The 'tickvals' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ...
[ "def", "tickvals", "(", "self", ")", ":", "return", "self", "[", "\"tickvals\"", "]" ]
[ 688, 4 ]
[ 700, 31 ]
python
en
['en', 'error', 'th']
False
Axis.tickvalssrc
(self)
Sets the source reference on Chart Studio Cloud for tickvals . The 'tickvalssrc' 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 tickvals . The 'tickvalssrc' property must be specified as a string or as a plotly.grid_objs.Column object
def tickvalssrc(self): """ Sets the source reference on Chart Studio Cloud for tickvals . The 'tickvalssrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["tickvalssrc"]
[ "def", "tickvalssrc", "(", "self", ")", ":", "return", "self", "[", "\"tickvalssrc\"", "]" ]
[ 709, 4 ]
[ 720, 34 ]
python
en
['en', 'error', 'th']
False
Axis.tickwidth
(self)
Sets the tick width (in px). The 'tickwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the tick width (in px). The 'tickwidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def tickwidth(self): """ Sets the tick width (in px). The 'tickwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["tickwidth"]
[ "def", "tickwidth", "(", "self", ")", ":", "return", "self", "[", "\"tickwidth\"", "]" ]
[ 729, 4 ]
[ 740, 32 ]
python
en
['en', 'error', 'th']
False
Axis.visible
(self)
A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false The 'visible' property must be specified as a bool (either True, or False) Returns ------- bool ...
A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false The 'visible' property must be specified as a bool (either True, or False)
def visible(self): """ A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false The 'visible' property must be specified as a bool (either True, or False) Returns...
[ "def", "visible", "(", "self", ")", ":", "return", "self", "[", "\"visible\"", "]" ]
[ 749, 4 ]
[ 762, 30 ]
python
en
['en', 'error', 'th']
False
Axis.__init__
( self, arg=None, dtick=None, exponentformat=None, nticks=None, range=None, separatethousands=None, showexponent=None, showticklabels=None, showtickprefix=None, showticksuffix=None, tick0=None, tickangle=None, ...
Construct a new Axis object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.indicator.gauge.Axis` dtick Sets the step in-between ticks on this axis....
Construct a new Axis object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.indicator.gauge.Axis` dtick Sets the step in-between ticks on this axis....
def __init__( self, arg=None, dtick=None, exponentformat=None, nticks=None, range=None, separatethousands=None, showexponent=None, showticklabels=None, showtickprefix=None, showticksuffix=None, tick0=None, tickangle=...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "dtick", "=", "None", ",", "exponentformat", "=", "None", ",", "nticks", "=", "None", ",", "range", "=", "None", ",", "separatethousands", "=", "None", ",", "showexponent", "=", "None", ",",...
[ 908, 4 ]
[ 1231, 34 ]
python
en
['en', 'error', 'th']
False
_conv_linear
(args, filter_size, num_features, bias, bias_start=0.0, scope=None)
convolution: Args: args: a 4D Tensor or a list of 4D, batch x n, Tensors. filter_size: int tuple of filter height and width. num_features: int, number of features. bias_start: starting value to initialize the bias; 0 by default. scope: VariableScope for the created subgraph; defaults t...
convolution: Args: args: a 4D Tensor or a list of 4D, batch x n, Tensors. filter_size: int tuple of filter height and width. num_features: int, number of features. bias_start: starting value to initialize the bias; 0 by default. scope: VariableScope for the created subgraph; defaults t...
def _conv_linear(args, filter_size, num_features, bias, bias_start=0.0, scope=None): """convolution: Args: args: a 4D Tensor or a list of 4D, batch x n, Tensors. filter_size: int tuple of filter height and width. num_features: int, number of features. bias_start: starting value to initia...
[ "def", "_conv_linear", "(", "args", ",", "filter_size", ",", "num_features", ",", "bias", ",", "bias_start", "=", "0.0", ",", "scope", "=", "None", ")", ":", "# Calculate the total size of arguments on dimension 1.", "total_arg_size_depth", "=", "0", "shapes", "=", ...
[ 83, 0 ]
[ 125, 26 ]
python
it
['en', 'it', 'it']
False
BasicConvLSTMCell.__init__
(self, shape, filter_size, num_features, forget_bias=1.0, state_is_tuple=False, activation=tf.nn.tanh)
shape: int tuple, height and width of the cell filter_size: int tuple, height and width of the filter num_features: int, depth of the cell forget_bias: float, forget gates bias state_is_tuple: If True, accepted and returned states are 2-tuples of the `c_sta...
shape: int tuple, height and width of the cell filter_size: int tuple, height and width of the filter num_features: int, depth of the cell forget_bias: float, forget gates bias state_is_tuple: If True, accepted and returned states are 2-tuples of the `c_sta...
def __init__(self, shape, filter_size, num_features, forget_bias=1.0, state_is_tuple=False, activation=tf.nn.tanh): """ shape: int tuple, height and width of the cell filter_size: int tuple, height and width of the filter num_features: int, depth of the cell ...
[ "def", "__init__", "(", "self", ",", "shape", ",", "filter_size", ",", "num_features", ",", "forget_bias", "=", "1.0", ",", "state_is_tuple", "=", "False", ",", "activation", "=", "tf", ".", "nn", ".", "tanh", ")", ":", "self", ".", "shape", "=", "shap...
[ 9, 4 ]
[ 28, 37 ]
python
en
['en', 'error', 'th']
False
BasicConvLSTMCell.__call__
(self, inputs, state, scope=None)
Long short-term memory cell (LSTM).
Long short-term memory cell (LSTM).
def __call__(self, inputs, state, scope=None): """Long short-term memory cell (LSTM).""" with tf.variable_scope(scope or type(self).__name__): # "BasicLSTMCell" # Parameters of gates are concatenated into one multiply for efficiency. if self._state_is_tuple: c, h...
[ "def", "__call__", "(", "self", ",", "inputs", ",", "state", ",", "scope", "=", "None", ")", ":", "with", "tf", ".", "variable_scope", "(", "scope", "or", "type", "(", "self", ")", ".", "__name__", ")", ":", "# \"BasicLSTMCell\"", "# Parameters of gates ar...
[ 39, 4 ]
[ 70, 35 ]
python
en
['en', 'no', 'en']
True
BasicConvLSTMCell.zero_state
(self, batch_size, dtype)
Return zero-filled state tensor(s). Args: batch_size: int, float, or unit Tensor representing the batch size. dtype: the data type to use for the state. Returns: tensor of shape '[batch_size x shape[0] x shape[1] x num_features] filled with zeros
Return zero-filled state tensor(s). Args: batch_size: int, float, or unit Tensor representing the batch size. dtype: the data type to use for the state. Returns: tensor of shape '[batch_size x shape[0] x shape[1] x num_features] filled with zeros
def zero_state(self, batch_size, dtype): """Return zero-filled state tensor(s). Args: batch_size: int, float, or unit Tensor representing the batch size. dtype: the data type to use for the state. Returns: tensor of shape '[batch_size x shape[0] x shape[1] x num_fea...
[ "def", "zero_state", "(", "self", ",", "batch_size", ",", "dtype", ")", ":", "return", "tf", ".", "zeros", "(", "[", "batch_size", ",", "self", ".", "_num_units", "*", "2", "]", ")" ]
[ 72, 4 ]
[ 81, 58 ]
python
en
['eu', 'no', 'en']
False
get_module
(name, should_load=True)
Return module or None. Absolute import is required. :param (str) name: Dot-separated module path. E.g., 'scipy.stats'. :raise: (ImportError) Only when exc_msg is defined. :return: (module|None) If import succeeds, the module will be returned.
Return module or None. Absolute import is required.
def get_module(name, should_load=True): """ Return module or None. Absolute import is required. :param (str) name: Dot-separated module path. E.g., 'scipy.stats'. :raise: (ImportError) Only when exc_msg is defined. :return: (module|None) If import succeeds, the module will be returned. """ ...
[ "def", "get_module", "(", "name", ",", "should_load", "=", "True", ")", ":", "if", "name", "in", "sys", ".", "modules", ":", "return", "sys", ".", "modules", "[", "name", "]", "if", "not", "should_load", ":", "return", "None", "if", "name", "not", "i...
[ 14, 0 ]
[ 35, 33 ]
python
en
['en', 'error', 'th']
False
X.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
X.locations
(self)
Specifies the location(s) of slices on the axis. When not specified slices would be created for all points of the axis x 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 x 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 x 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
X.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
X.show
(self)
Determines whether or not slice planes about the x 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 x 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 x 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
X.__init__
( self, arg=None, fill=None, locations=None, locationssrc=None, show=None, **kwargs )
Construct a new X object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.isosurface.slices.X` fill Sets the fill ratio of the `slices`. The default ...
Construct a new X object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.isosurface.slices.X` 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 X 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", "(", "X", ",", "self", ")", ...
[ 122, 4 ]
[ 213, 34 ]
python
en
['en', 'error', 'th']
False
InteractiveWorld.init_contexts
(self, shared=None)
Override to load or instantiate contexts to be used to seed the chat.
Override to load or instantiate contexts to be used to seed the chat.
def init_contexts(self, shared=None): """ Override to load or instantiate contexts to be used to seed the chat. """ pass
[ "def", "init_contexts", "(", "self", ",", "shared", "=", "None", ")", ":", "pass" ]
[ 26, 4 ]
[ 30, 12 ]
python
en
['en', 'error', 'th']
False
InteractiveWorld.get_contexts
(self)
Override to return a pair of contexts with which to seed the episode. This function will be called before the first turn of every episode.
Override to return a pair of contexts with which to seed the episode.
def get_contexts(self): """ Override to return a pair of contexts with which to seed the episode. This function will be called before the first turn of every episode. """ return ['', '']
[ "def", "get_contexts", "(", "self", ")", ":", "return", "[", "''", ",", "''", "]" ]
[ 32, 4 ]
[ 38, 23 ]
python
en
['en', 'error', 'th']
False
InteractiveWorld.parley
(self)
Agent 0 goes first. Alternate between the two agents.
Agent 0 goes first.
def parley(self): """ Agent 0 goes first. Alternate between the two agents. """ if self.turn_cnt == 0: self.p1, self.p2 = self.get_contexts() acts = self.acts agents = self.agents if self.turn_cnt == 0 and self.p1 != '': # add the...
[ "def", "parley", "(", "self", ")", ":", "if", "self", ".", "turn_cnt", "==", "0", ":", "self", ".", "p1", ",", "self", ".", "p2", "=", "self", ".", "get_contexts", "(", ")", "acts", "=", "self", ".", "acts", "agents", "=", "self", ".", "agents", ...
[ 45, 4 ]
[ 84, 29 ]
python
en
['en', 'error', 'th']
False
Lighting.ambient
(self)
Ambient light increases overall color visibility but can wash out the image. The 'ambient' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Ambient light increases overall color visibility but can wash out the image. The 'ambient' property is a number and may be specified as: - An int or float in the interval [0, 1]
def ambient(self): """ Ambient light increases overall color visibility but can wash out the image. The 'ambient' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float """ r...
[ "def", "ambient", "(", "self", ")", ":", "return", "self", "[", "\"ambient\"", "]" ]
[ 23, 4 ]
[ 35, 30 ]
python
en
['en', 'error', 'th']
False
Lighting.diffuse
(self)
Represents the extent that incident rays are reflected in a range of angles. The 'diffuse' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Represents the extent that incident rays are reflected in a range of angles. The 'diffuse' property is a number and may be specified as: - An int or float in the interval [0, 1]
def diffuse(self): """ Represents the extent that incident rays are reflected in a range of angles. The 'diffuse' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float """ r...
[ "def", "diffuse", "(", "self", ")", ":", "return", "self", "[", "\"diffuse\"", "]" ]
[ 44, 4 ]
[ 56, 30 ]
python
en
['en', 'error', 'th']
False
Lighting.facenormalsepsilon
(self)
Epsilon for face normals calculation avoids math issues arising from degenerate geometry. The 'facenormalsepsilon' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Epsilon for face normals calculation avoids math issues arising from degenerate geometry. The 'facenormalsepsilon' property is a number and may be specified as: - An int or float in the interval [0, 1]
def facenormalsepsilon(self): """ Epsilon for face normals calculation avoids math issues arising from degenerate geometry. The 'facenormalsepsilon' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- ...
[ "def", "facenormalsepsilon", "(", "self", ")", ":", "return", "self", "[", "\"facenormalsepsilon\"", "]" ]
[ 65, 4 ]
[ 77, 41 ]
python
en
['en', 'error', 'th']
False
Lighting.fresnel
(self)
Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. The 'fresnel' property is a number and may be specified as: - An int or float in the interval [0, 5] ...
Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. The 'fresnel' property is a number and may be specified as: - An int or float in the interval [0, 5]
def fresnel(self): """ Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. The 'fresnel' property is a number and may be specified as: - An int or f...
[ "def", "fresnel", "(", "self", ")", ":", "return", "self", "[", "\"fresnel\"", "]" ]
[ 86, 4 ]
[ 99, 30 ]
python
en
['en', 'error', 'th']
False
Lighting.roughness
(self)
Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. The 'roughness' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. The 'roughness' property is a number and may be specified as: - An int or float in the interval [0, 1]
def roughness(self): """ Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. The 'roughness' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float ...
[ "def", "roughness", "(", "self", ")", ":", "return", "self", "[", "\"roughness\"", "]" ]
[ 108, 4 ]
[ 120, 32 ]
python
en
['en', 'error', 'th']
False
Lighting.specular
(self)
Represents the level that incident rays are reflected in a single direction, causing shine. The 'specular' property is a number and may be specified as: - An int or float in the interval [0, 2] Returns ------- int|float
Represents the level that incident rays are reflected in a single direction, causing shine. The 'specular' property is a number and may be specified as: - An int or float in the interval [0, 2]
def specular(self): """ Represents the level that incident rays are reflected in a single direction, causing shine. The 'specular' property is a number and may be specified as: - An int or float in the interval [0, 2] Returns ------- int|float ...
[ "def", "specular", "(", "self", ")", ":", "return", "self", "[", "\"specular\"", "]" ]
[ 129, 4 ]
[ 141, 31 ]
python
en
['en', 'error', 'th']
False
Lighting.vertexnormalsepsilon
(self)
Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. The 'vertexnormalsepsilon' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. The 'vertexnormalsepsilon' property is a number and may be specified as: - An int or float in the interval [0, 1]
def vertexnormalsepsilon(self): """ Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. The 'vertexnormalsepsilon' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------...
[ "def", "vertexnormalsepsilon", "(", "self", ")", ":", "return", "self", "[", "\"vertexnormalsepsilon\"", "]" ]
[ 150, 4 ]
[ 162, 43 ]
python
en
['en', 'error', 'th']
False
Lighting.__init__
( self, arg=None, ambient=None, diffuse=None, facenormalsepsilon=None, fresnel=None, roughness=None, specular=None, vertexnormalsepsilon=None, **kwargs )
Construct a new Lighting object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.mesh3d.Lighting` ambient Ambient light increases overall color visib...
Construct a new Lighting object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.mesh3d.Lighting` ambient Ambient light increases overall color visib...
def __init__( self, arg=None, ambient=None, diffuse=None, facenormalsepsilon=None, fresnel=None, roughness=None, specular=None, vertexnormalsepsilon=None, **kwargs ): """ Construct a new Lighting object ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "ambient", "=", "None", ",", "diffuse", "=", "None", ",", "facenormalsepsilon", "=", "None", ",", "fresnel", "=", "None", ",", "roughness", "=", "None", ",", "specular", "=", "None", ",", ...
[ 198, 4 ]
[ 311, 34 ]
python
en
['en', 'error', 'th']
False
Title.font
(self)
Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.title.Font...
Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.title.Font...
def font(self): """ Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar...
[ "def", "font", "(", "self", ")", ":", "return", "self", "[", "\"font\"", "]" ]
[ 15, 4 ]
[ 53, 27 ]
python
en
['en', 'error', 'th']
False
Title.side
(self)
Determines the location of color bar's title with respect to the color bar. Note that the title's location used to be set by the now deprecated `titleside` attribute. The 'side' property is an enumeration that may be specified as: - One of the following enumeration values...
Determines the location of color bar's title with respect to the color bar. Note that the title's location used to be set by the now deprecated `titleside` attribute. The 'side' property is an enumeration that may be specified as: - One of the following enumeration values...
def side(self): """ Determines the location of color bar's title with respect to the color bar. Note that the title's location used to be set by the now deprecated `titleside` attribute. The 'side' property is an enumeration that may be specified as: - One of the f...
[ "def", "side", "(", "self", ")", ":", "return", "self", "[", "\"side\"", "]" ]
[ 62, 4 ]
[ 76, 27 ]
python
en
['en', 'error', 'th']
False
Title.text
(self)
Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated. The 'text' property is a string and must be specified as: - A string - A ...
Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated. The 'text' property is a string and must be specified as: - A string - A ...
def text(self): """ Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated. The 'text' property is a string and must be specified as: ...
[ "def", "text", "(", "self", ")", ":", "return", "self", "[", "\"text\"", "]" ]
[ 85, 4 ]
[ 99, 27 ]
python
en
['en', 'error', 'th']
False
Title.__init__
(self, arg=None, font=None, side=None, text=None, **kwargs)
Construct a new Title object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatterpolar.m arker.colorbar.Title` font Sets this color bar's title f...
Construct a new Title object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatterpolar.m arker.colorbar.Title` font Sets this color bar's title f...
def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): """ Construct a new Title object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatterpolar.m ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "font", "=", "None", ",", "side", "=", "None", ",", "text", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Title", ",", "self", ")", ".", "__init__", "(", "\"title\"", ...
[ 126, 4 ]
[ 203, 34 ]
python
en
['en', 'error', 'th']
False
YBins.end
(self)
Sets the end value for the y axis bins. The last bin may not end exactly at this value, we increment the bin edge by `size` from `start` until we reach or exceed `end`. Defaults to the maximum data value. Like `start`, for dates use a date string, and for category data `end` is ...
Sets the end value for the y axis bins. The last bin may not end exactly at this value, we increment the bin edge by `size` from `start` until we reach or exceed `end`. Defaults to the maximum data value. Like `start`, for dates use a date string, and for category data `end` is ...
def end(self): """ Sets the end value for the y axis bins. The last bin may not end exactly at this value, we increment the bin edge by `size` from `start` until we reach or exceed `end`. Defaults to the maximum data value. Like `start`, for dates use a date string, and f...
[ "def", "end", "(", "self", ")", ":", "return", "self", "[", "\"end\"", "]" ]
[ 15, 4 ]
[ 30, 26 ]
python
en
['en', 'error', 'th']
False
YBins.size
(self)
Sets the size of each y axis bin. Default behavior: If `nbinsy` is 0 or omitted, we choose a nice round bin size such that the number of bins is about the same as the typical number of samples in each bin. If `nbinsy` is provided, we choose a nice round bin size giving no more t...
Sets the size of each y axis bin. Default behavior: If `nbinsy` is 0 or omitted, we choose a nice round bin size such that the number of bins is about the same as the typical number of samples in each bin. If `nbinsy` is provided, we choose a nice round bin size giving no more t...
def size(self): """ Sets the size of each y axis bin. Default behavior: If `nbinsy` is 0 or omitted, we choose a nice round bin size such that the number of bins is about the same as the typical number of samples in each bin. If `nbinsy` is provided, we choose a nice roun...
[ "def", "size", "(", "self", ")", ":", "return", "self", "[", "\"size\"", "]" ]
[ 39, 4 ]
[ 56, 27 ]
python
en
['en', 'error', 'th']
False
YBins.start
(self)
Sets the starting value for the y axis bins. Defaults to the minimum data value, shifted down if necessary to make nice round values and to remove ambiguous bin edges. For example, if most of the data is integers we shift the bin edges 0.5 down, so a `size` of 5 would have a def...
Sets the starting value for the y axis bins. Defaults to the minimum data value, shifted down if necessary to make nice round values and to remove ambiguous bin edges. For example, if most of the data is integers we shift the bin edges 0.5 down, so a `size` of 5 would have a def...
def start(self): """ Sets the starting value for the y axis bins. Defaults to the minimum data value, shifted down if necessary to make nice round values and to remove ambiguous bin edges. For example, if most of the data is integers we shift the bin edges 0.5 down, so a ...
[ "def", "start", "(", "self", ")", ":", "return", "self", "[", "\"start\"", "]" ]
[ 65, 4 ]
[ 84, 28 ]
python
en
['en', 'error', 'th']
False
YBins.__init__
(self, arg=None, end=None, size=None, start=None, **kwargs)
Construct a new YBins object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.histogram2dcontour.YBins` end Sets the end value for the y axis bins. T...
Construct a new YBins object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.histogram2dcontour.YBins` end Sets the end value for the y axis bins. T...
def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): """ Construct a new YBins object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.histogr...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "end", "=", "None", ",", "size", "=", "None", ",", "start", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "YBins", ",", "self", ")", ".", "__init__", "(", "\"ybins\"", ...
[ 126, 4 ]
[ 218, 34 ]
python
en
['en', 'error', 'th']
False
test_state_proof_returned_for_get_attr
(looper, nodeSetWithOneNodeResponding, sdk_added_raw_attribute, attributeName, attributeData, sdk_pool_ha...
Tests that state proof is returned in the reply for GET_ATTR transactions. Use different submitter and reader!
Tests that state proof is returned in the reply for GET_ATTR transactions. Use different submitter and reader!
def test_state_proof_returned_for_get_attr(looper, nodeSetWithOneNodeResponding, sdk_added_raw_attribute, attributeName, attributeData, ...
[ "def", "test_state_proof_returned_for_get_attr", "(", "looper", ",", "nodeSetWithOneNodeResponding", ",", "sdk_added_raw_attribute", ",", "attributeName", ",", "attributeData", ",", "sdk_pool_handle", ",", "sdk_wallet_client", ")", ":", "get_attr_operation", "=", "{", "TARG...
[ 39, 0 ]
[ 64, 29 ]
python
en
['en', 'error', 'th']
False
test_state_proof_returned_for_get_nym
(looper, nodeSetWithOneNodeResponding, sdk_user_wallet_a, sdk_pool_handle, sdk_wallet_client, sdk_wallet_endor...
Tests that state proof is returned in the reply for GET_NYM transactions. Use different submitter and reader!
Tests that state proof is returned in the reply for GET_NYM transactions. Use different submitter and reader!
def test_state_proof_returned_for_get_nym(looper, nodeSetWithOneNodeResponding, sdk_user_wallet_a, sdk_pool_handle, sdk_wallet_client, ...
[ "def", "test_state_proof_returned_for_get_nym", "(", "looper", ",", "nodeSetWithOneNodeResponding", ",", "sdk_user_wallet_a", ",", "sdk_pool_handle", ",", "sdk_wallet_client", ",", "sdk_wallet_endorser", ")", ":", "_", ",", "dest", "=", "sdk_user_wallet_a", "nym_operation",...
[ 67, 0 ]
[ 103, 29 ]
python
en
['en', 'error', 'th']
False
test_state_proof_returned_for_get_schema
(looper, nodeSetWithOneNodeResponding, sdk_wallet_endorser, sdk_pool_handle, sdk_wallet_client)
Tests that state proof is returned in the reply for GET_SCHEMA transactions. Use different submitter and reader!
Tests that state proof is returned in the reply for GET_SCHEMA transactions. Use different submitter and reader!
def test_state_proof_returned_for_get_schema(looper, nodeSetWithOneNodeResponding, sdk_wallet_endorser, sdk_pool_handle, sdk_wallet_client):...
[ "def", "test_state_proof_returned_for_get_schema", "(", "looper", ",", "nodeSetWithOneNodeResponding", ",", "sdk_wallet_endorser", ",", "sdk_pool_handle", ",", "sdk_wallet_client", ")", ":", "_", ",", "dest", "=", "sdk_wallet_endorser", "schema_name", "=", "\"test_schema\""...
[ 106, 0 ]
[ 152, 29 ]
python
en
['en', 'error', 'th']
False
test_state_proof_returned_for_get_rich_schema
(looper, nodeSetWithOneNodeResponding, sdk_wallet_endorser, sdk_pool_handle, sdk_wallet_client, ...
Tests that state proof is returned in the reply for GET_RICH_SCHEMA_OBJECT_BY_ID. Use different submitter and reader!
Tests that state proof is returned in the reply for GET_RICH_SCHEMA_OBJECT_BY_ID. Use different submitter and reader!
def test_state_proof_returned_for_get_rich_schema(looper, nodeSetWithOneNodeResponding, sdk_wallet_endorser, sdk_pool_handle, ...
[ "def", "test_state_proof_returned_for_get_rich_schema", "(", "looper", ",", "nodeSetWithOneNodeResponding", ",", "sdk_wallet_endorser", ",", "sdk_pool_handle", ",", "sdk_wallet_client", ",", "write_rich_schema", ",", "txn_type", ",", "rs_type", ",", "content", ",", "rs_id",...
[ 198, 0 ]
[ 228, 29 ]
python
en
['en', 'error', 'th']
False
test_state_proof_returned_for_get_rich_schema_obj_by_metadata
(looper, nodeSetWithOneNodeResponding, sdk_wallet_endorser, sdk_pool_handle, ...
Tests that state proof is returned in the reply for GET_RICH_SCHEMA_OBJECT_BY_METADATA. Use different submitter and reader!
Tests that state proof is returned in the reply for GET_RICH_SCHEMA_OBJECT_BY_METADATA. Use different submitter and reader!
def test_state_proof_returned_for_get_rich_schema_obj_by_metadata(looper, nodeSetWithOneNodeResponding, sdk_wallet_endorser, ...
[ "def", "test_state_proof_returned_for_get_rich_schema_obj_by_metadata", "(", "looper", ",", "nodeSetWithOneNodeResponding", ",", "sdk_wallet_endorser", ",", "sdk_pool_handle", ",", "sdk_wallet_client", ",", "write_rich_schema", ",", "txn_type", ",", "rs_type", ",", "content", ...
[ 235, 0 ]
[ 270, 29 ]
python
en
['en', 'error', 'th']
False
test_state_proof_returned_for_get_claim_def
(looper, nodeSetWithOneNodeResponding, sdk_wallet_endorser, sdk_pool_handle, sdk_wallet_client, ...
Tests that state proof is returned in the reply for GET_CLAIM_DEF transactions. Use different submitter and reader!
Tests that state proof is returned in the reply for GET_CLAIM_DEF transactions. Use different submitter and reader!
def test_state_proof_returned_for_get_claim_def(looper, nodeSetWithOneNodeResponding, sdk_wallet_endorser, sdk_pool_handle, sdk_...
[ "def", "test_state_proof_returned_for_get_claim_def", "(", "looper", ",", "nodeSetWithOneNodeResponding", ",", "sdk_wallet_endorser", ",", "sdk_pool_handle", ",", "sdk_wallet_client", ",", "send_schema_seq_no", ")", ":", "_", ",", "dest", "=", "sdk_wallet_endorser", "data",...
[ 273, 0 ]
[ 314, 29 ]
python
en
['en', 'error', 'th']
False
TestAgentMessage.test_init
(self)
Tests init class
Tests init class
def test_init(self): """Tests init class""" SignedAgentMessage() with self.assertRaises(TypeError) as context: self.BadImplementationClass() # pylint: disable=E0110 assert "Can't instantiate abstract" in str(context.exception)
[ "def", "test_init", "(", "self", ")", ":", "SignedAgentMessage", "(", ")", "with", "self", ".", "assertRaises", "(", "TypeError", ")", "as", "context", ":", "self", ".", "BadImplementationClass", "(", ")", "# pylint: disable=E0110", "assert", "\"Can't instantiate ...
[ 51, 4 ]
[ 58, 69 ]
python
en
['en', 'en', 'en']
True
TestCredentialIssue.test_init
(self)
Test initializer
Test initializer
def test_init(self): """Test initializer""" credential_issue = CredentialIssue( comment="Test", credentials_attach=[ AttachDecorator.from_indy_dict( indy_dict=self.indy_cred, ident=ATTACH_DECO_IDS[CREDENTIAL_ISSUE], ) ...
[ "def", "test_init", "(", "self", ")", ":", "credential_issue", "=", "CredentialIssue", "(", "comment", "=", "\"Test\"", ",", "credentials_attach", "=", "[", "AttachDecorator", ".", "from_indy_dict", "(", "indy_dict", "=", "self", ".", "indy_cred", ",", "ident", ...
[ 76, 4 ]
[ 88, 68 ]
python
de
['de', 'pl', 'en']
False