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
Starts.ysrc
(self)
Sets the source reference on Chart Studio Cloud for y . The 'ysrc' 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 y . The 'ysrc' property must be specified as a string or as a plotly.grid_objs.Column object
def ysrc(self): """ Sets the source reference on Chart Studio Cloud for y . The 'ysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["ysrc"]
[ "def", "ysrc", "(", "self", ")", ":", "return", "self", "[", "\"ysrc\"", "]" ]
[ 77, 4 ]
[ 88, 27 ]
python
en
['en', 'error', 'th']
False
Starts.z
(self)
Sets the z components of the starting position of the streamtubes The 'z' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the z components of the starting position of the streamtubes The 'z' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def z(self): """ Sets the z components of the starting position of the streamtubes 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\"", "]" ]
[ 97, 4 ]
[ 109, 24 ]
python
en
['en', 'error', 'th']
False
Starts.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\"", "]" ]
[ 118, 4 ]
[ 129, 27 ]
python
en
['en', 'error', 'th']
False
Starts.__init__
( self, arg=None, x=None, xsrc=None, y=None, ysrc=None, z=None, zsrc=None, **kwargs )
Construct a new Starts object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.streamtube.Starts` x Sets the x components of the starting position of...
Construct a new Starts object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.streamtube.Starts` x Sets the x components of the starting position of...
def __init__( self, arg=None, x=None, xsrc=None, y=None, ysrc=None, z=None, zsrc=None, **kwargs ): """ Construct a new Starts object Parameters ---------- arg dict of properties compa...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "x", "=", "None", ",", "xsrc", "=", "None", ",", "y", "=", "None", ",", "ysrc", "=", "None", ",", "z", "=", "None", ",", "zsrc", "=", "None", ",", "*", "*", "kwargs", ")", ":", "...
[ 160, 4 ]
[ 263, 34 ]
python
en
['en', 'error', 'th']
False
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(PurgeMessagesCog(bot))
[ "def", "setup", "(", "bot", ")", ":", "bot", ".", "add_cog", "(", "PurgeMessagesCog", "(", "bot", ")", ")" ]
[ 513, 0 ]
[ 517, 38 ]
python
en
['en', 'error', 'th']
False
PurgeMessagesCog.purge_antipetros
(self, ctx: commands.Context, **command_flags)
Removes all messages of the bot and optionally of giddi. Example: @AntiPetros purge_antipetros -gid yes -n 1000
Removes all messages of the bot and optionally of giddi.
async def purge_antipetros(self, ctx: commands.Context, **command_flags): """ Removes all messages of the bot and optionally of giddi. Example: @AntiPetros purge_antipetros -gid yes -n 1000 """ def is_antipetros(message): author_ids = [self.bot.id] ...
[ "async", "def", "purge_antipetros", "(", "self", ",", "ctx", ":", "commands", ".", "Context", ",", "*", "*", "command_flags", ")", ":", "def", "is_antipetros", "(", "message", ")", ":", "author_ids", "=", "[", "self", ".", "bot", ".", "id", "]", "if", ...
[ 284, 4 ]
[ 304, 49 ]
python
en
['en', 'error', 'th']
False
PurgeMessagesCog.toggle_remove_double_posts
(self, ctx: commands.Context, switch_to: bool = None)
Turns the remove_double_posts-listener on and off. Args: switch_to (bool, optional): what you want to switch the listener to, either `on` or `off`, if this is not provided it just automatically switches to the opposite it currently is. Defaults to None. Example: @AntiP...
Turns the remove_double_posts-listener on and off.
async def toggle_remove_double_posts(self, ctx: commands.Context, switch_to: bool = None): """ Turns the remove_double_posts-listener on and off. Args: switch_to (bool, optional): what you want to switch the listener to, either `on` or `off`, if this is not provided it just automati...
[ "async", "def", "toggle_remove_double_posts", "(", "self", ",", "ctx", ":", "commands", ".", "Context", ",", "switch_to", ":", "bool", "=", "None", ")", ":", "current_setting", "=", "self", ".", "remove_double_posts_enabled", "if", "switch_to", "is", "not", "N...
[ 365, 4 ]
[ 390, 108 ]
python
en
['en', 'error', 'th']
False
PurgeMessagesCog.set_remove_double_posts_max_role_position
(self, ctx: commands.Context, new_max_position: RoleOrIntConverter)
Sets the max role position that still triggers the remove_double_posts check. Args: new_max_position (RoleOrIntConverter): can either be a position number, an Role-id or an Role-name, in the last two cases the position is the roles position. Example: @AntiPetros set_re...
Sets the max role position that still triggers the remove_double_posts check.
async def set_remove_double_posts_max_role_position(self, ctx: commands.Context, new_max_position: RoleOrIntConverter): """ Sets the max role position that still triggers the remove_double_posts check. Args: new_max_position (RoleOrIntConverter): can either be a position number, an ...
[ "async", "def", "set_remove_double_posts_max_role_position", "(", "self", ",", "ctx", ":", "commands", ".", "Context", ",", "new_max_position", ":", "RoleOrIntConverter", ")", ":", "if", "isinstance", "(", "new_max_position", ",", "discord", ".", "Role", ")", ":",...
[ 395, 4 ]
[ 413, 103 ]
python
en
['en', 'error', 'th']
False
BaseRoIExtractor.num_inputs
(self)
int: Number of input feature maps.
int: Number of input feature maps.
def num_inputs(self): """int: Number of input feature maps.""" return len(self.featmap_strides)
[ "def", "num_inputs", "(", "self", ")", ":", "return", "len", "(", "self", ".", "featmap_strides", ")" ]
[ 24, 4 ]
[ 26, 40 ]
python
en
['en', 'en', 'en']
True
BaseRoIExtractor.build_roi_layers
(self, layer_cfg, featmap_strides)
Build RoI operator to extract feature from each level feature map. Args: layer_cfg (dict): Dictionary to construct and config RoI layer operation. Options are modules under ``mmcv/ops`` such as ``RoIAlign``. featmap_strides (int): The stride of input feat...
Build RoI operator to extract feature from each level feature map.
def build_roi_layers(self, layer_cfg, featmap_strides): """Build RoI operator to extract feature from each level feature map. Args: layer_cfg (dict): Dictionary to construct and config RoI layer operation. Options are modules under ``mmcv/ops`` such as ``RoIA...
[ "def", "build_roi_layers", "(", "self", ",", "layer_cfg", ",", "featmap_strides", ")", ":", "cfg", "=", "layer_cfg", ".", "copy", "(", ")", "layer_type", "=", "cfg", ".", "pop", "(", "'type'", ")", "assert", "hasattr", "(", "ops", ",", "layer_type", ")",...
[ 31, 4 ]
[ 54, 25 ]
python
en
['en', 'en', 'en']
True
BaseRoIExtractor.roi_rescale
(self, rois, scale_factor)
Scale RoI coordinates by scale factor. Args: rois (torch.Tensor): RoI (Region of Interest), shape (n, 5) scale_factor (float): Scale factor that RoI will be multiplied by. Returns: torch.Tensor: Scaled RoI.
Scale RoI coordinates by scale factor.
def roi_rescale(self, rois, scale_factor): """Scale RoI coordinates by scale factor. Args: rois (torch.Tensor): RoI (Region of Interest), shape (n, 5) scale_factor (float): Scale factor that RoI will be multiplied by. Returns: torch.Tensor: Scaled RoI. ...
[ "def", "roi_rescale", "(", "self", ",", "rois", ",", "scale_factor", ")", ":", "cx", "=", "(", "rois", "[", ":", ",", "1", "]", "+", "rois", "[", ":", ",", "3", "]", ")", "*", "0.5", "cy", "=", "(", "rois", "[", ":", ",", "2", "]", "+", "...
[ 56, 4 ]
[ 78, 23 ]
python
en
['en', 'en', 'en']
True
Selected.marker
(self)
The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.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.scatterpolar.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.scatterpolar.selected.Marker` - A dict of string/value properties that will be passed to the Marker constructor ...
[ "def", "marker", "(", "self", ")", ":", "return", "self", "[", "\"marker\"", "]" ]
[ 15, 4 ]
[ 36, 29 ]
python
en
['en', 'error', 'th']
False
Selected.textfont
(self)
The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.selected.Textfont` - A dict of string/value properties that will be passed to the Textfont constructor Supported dict pro...
The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.selected.Textfont` - A dict of string/value properties that will be passed to the Textfont constructor Supported dict pro...
def textfont(self): """ The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.selected.Textfont` - A dict of string/value properties that will be passed to the Textfont constructor ...
[ "def", "textfont", "(", "self", ")", ":", "return", "self", "[", "\"textfont\"", "]" ]
[ 45, 4 ]
[ 62, 31 ]
python
en
['en', 'error', 'th']
False
Selected.__init__
(self, arg=None, marker=None, textfont=None, **kwargs)
Construct a new Selected object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatterpolar.Selected` marker :class:`plotly.graph_objects.scatterpo...
Construct a new Selected object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatterpolar.Selected` marker :class:`plotly.graph_objects.scatterpo...
def __init__(self, arg=None, marker=None, textfont=None, **kwargs): """ Construct a new Selected object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatterpo...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "marker", "=", "None", ",", "textfont", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Selected", ",", "self", ")", ".", "__init__", "(", "\"selected\"", ")", "if", "\"_p...
[ 81, 4 ]
[ 146, 34 ]
python
en
['en', 'error', 'th']
False
_server_maintenance
()
This maintenance function handles repeated checks and updates that the server needs to do. It is called every minute.
This maintenance function handles repeated checks and updates that the server needs to do. It is called every minute.
def _server_maintenance(): """ This maintenance function handles repeated checks and updates that the server needs to do. It is called every minute. """ global EVENNIA, _MAINTENANCE_COUNT, _FLUSH_CACHE, _GAMETIME_MODULE if not _FLUSH_CACHE: from evennia.utils.idmapper.models import condi...
[ "def", "_server_maintenance", "(", ")", ":", "global", "EVENNIA", ",", "_MAINTENANCE_COUNT", ",", "_FLUSH_CACHE", ",", "_GAMETIME_MODULE", "if", "not", "_FLUSH_CACHE", ":", "from", "evennia", ".", "utils", ".", "idmapper", ".", "models", "import", "conditional_flu...
[ 98, 0 ]
[ 143, 59 ]
python
en
['en', 'error', 'th']
False
Evennia.__init__
(self, application)
Setup the server. application - an instantiated Twisted application
Setup the server.
def __init__(self, application): """ Setup the server. application - an instantiated Twisted application """ sys.path.insert(1, '.') # create a store of services self.services = service.MultiService() self.services.setServiceParent(application) ...
[ "def", "__init__", "(", "self", ",", "application", ")", ":", "sys", ".", "path", ".", "insert", "(", "1", ",", "'.'", ")", "# create a store of services", "self", ".", "services", "=", "service", ".", "MultiService", "(", ")", "self", ".", "services", "...
[ 161, 4 ]
[ 199, 45 ]
python
en
['en', 'error', 'th']
False
Evennia.sqlite3_prep
(self)
Optimize some SQLite stuff at startup since we can't save it to the database.
Optimize some SQLite stuff at startup since we can't save it to the database.
def sqlite3_prep(self): """ Optimize some SQLite stuff at startup since we can't save it to the database. """ if ((".".join(str(i) for i in django.VERSION) < "1.2" and settings.DATABASES.get('default', {}).get('ENGINE') == "sqlite3") or (hasattr(settings,...
[ "def", "sqlite3_prep", "(", "self", ")", ":", "if", "(", "(", "\".\"", ".", "join", "(", "str", "(", "i", ")", "for", "i", "in", "django", ".", "VERSION", ")", "<", "\"1.2\"", "and", "settings", ".", "DATABASES", ".", "get", "(", "'default'", ",", ...
[ 203, 4 ]
[ 217, 49 ]
python
en
['en', 'error', 'th']
False
Evennia.update_defaults
(self)
We make sure to store the most important object defaults here, so we can catch if they change and update them on-objects automatically. This allows for changing default cmdset locations and default typeclasses in the settings file and have them auto-update all already existing o...
We make sure to store the most important object defaults here, so we can catch if they change and update them on-objects automatically. This allows for changing default cmdset locations and default typeclasses in the settings file and have them auto-update all already existing o...
def update_defaults(self): """ We make sure to store the most important object defaults here, so we can catch if they change and update them on-objects automatically. This allows for changing default cmdset locations and default typeclasses in the settings file and have them auto...
[ "def", "update_defaults", "(", "self", ")", ":", "global", "INFO_DICT", "# setting names", "settings_names", "=", "(", "\"CMDSET_CHARACTER\"", ",", "\"CMDSET_ACCOUNT\"", ",", "\"BASE_ACCOUNT_TYPECLASS\"", ",", "\"BASE_OBJECT_TYPECLASS\"", ",", "\"BASE_CHARACTER_TYPECLASS\"", ...
[ 219, 4 ]
[ 269, 65 ]
python
en
['en', 'error', 'th']
False
Evennia.run_initial_setup
(self)
This is triggered by the amp protocol when the connection to the portal has been established. This attempts to run the initial_setup script of the server. It returns if this is not the first time the server starts. Once finished the last_initial_setup_step is set to -1.
This is triggered by the amp protocol when the connection to the portal has been established. This attempts to run the initial_setup script of the server. It returns if this is not the first time the server starts. Once finished the last_initial_setup_step is set to -1.
def run_initial_setup(self): """ This is triggered by the amp protocol when the connection to the portal has been established. This attempts to run the initial_setup script of the server. It returns if this is not the first time the server starts. Once finished the last_i...
[ "def", "run_initial_setup", "(", "self", ")", ":", "global", "INFO_DICT", "last_initial_setup_step", "=", "ServerConfig", ".", "objects", ".", "conf", "(", "'last_initial_setup_step'", ")", "if", "not", "last_initial_setup_step", ":", "# None is only returned if the confi...
[ 271, 4 ]
[ 293, 68 ]
python
en
['en', 'error', 'th']
False
Evennia.run_init_hooks
(self, mode)
Called by the amp client once receiving sync back from Portal Args: mode (str): One of shutdown, reload or reset
Called by the amp client once receiving sync back from Portal
def run_init_hooks(self, mode): """ Called by the amp client once receiving sync back from Portal Args: mode (str): One of shutdown, reload or reset """ from evennia.objects.models import ObjectDB # update eventual changed defaults self.update_defau...
[ "def", "run_init_hooks", "(", "self", ",", "mode", ")", ":", "from", "evennia", ".", "objects", ".", "models", "import", "ObjectDB", "# update eventual changed defaults", "self", ".", "update_defaults", "(", ")", "[", "o", ".", "at_init", "(", ")", "for", "o...
[ 295, 4 ]
[ 325, 30 ]
python
en
['en', 'error', 'th']
False
Evennia.shutdown
(self, mode='reload', _reactor_stopping=False)
Shuts down the server from inside it. mode - sets the server restart mode. 'reload' - server restarts, no "persistent" scripts are stopped, at_reload hooks called. 'reset' - server restarts, non-persistent scripts stopped, ...
Shuts down the server from inside it.
def shutdown(self, mode='reload', _reactor_stopping=False): """ Shuts down the server from inside it. mode - sets the server restart mode. 'reload' - server restarts, no "persistent" scripts are stopped, at_reload hooks called. 'reset' - s...
[ "def", "shutdown", "(", "self", ",", "mode", "=", "'reload'", ",", "_reactor_stopping", "=", "False", ")", ":", "if", "_reactor_stopping", "and", "hasattr", "(", "self", ",", "\"shutdown_complete\"", ")", ":", "# this means we have already passed through this method",...
[ 328, 4 ]
[ 398, 72 ]
python
en
['en', 'error', 'th']
False
Evennia.get_info_dict
(self)
Return the server info, for display.
Return the server info, for display.
def get_info_dict(self): "Return the server info, for display." return INFO_DICT
[ "def", "get_info_dict", "(", "self", ")", ":", "return", "INFO_DICT" ]
[ 400, 4 ]
[ 402, 24 ]
python
en
['en', 'en', 'en']
True
Evennia.at_server_start
(self)
This is called every time the server starts up, regardless of how it was shut down.
This is called every time the server starts up, regardless of how it was shut down.
def at_server_start(self): """ This is called every time the server starts up, regardless of how it was shut down. """ if SERVER_STARTSTOP_MODULE: SERVER_STARTSTOP_MODULE.at_server_start()
[ "def", "at_server_start", "(", "self", ")", ":", "if", "SERVER_STARTSTOP_MODULE", ":", "SERVER_STARTSTOP_MODULE", ".", "at_server_start", "(", ")" ]
[ 406, 4 ]
[ 412, 53 ]
python
en
['en', 'error', 'th']
False
Evennia.at_server_stop
(self)
This is called just before a server is shut down, regardless of it is fore a reload, reset or shutdown.
This is called just before a server is shut down, regardless of it is fore a reload, reset or shutdown.
def at_server_stop(self): """ This is called just before a server is shut down, regardless of it is fore a reload, reset or shutdown. """ if SERVER_STARTSTOP_MODULE: SERVER_STARTSTOP_MODULE.at_server_stop()
[ "def", "at_server_stop", "(", "self", ")", ":", "if", "SERVER_STARTSTOP_MODULE", ":", "SERVER_STARTSTOP_MODULE", ".", "at_server_stop", "(", ")" ]
[ 414, 4 ]
[ 420, 52 ]
python
en
['en', 'error', 'th']
False
Evennia.at_server_reload_start
(self)
This is called only when server starts back up after a reload.
This is called only when server starts back up after a reload.
def at_server_reload_start(self): """ This is called only when server starts back up after a reload. """ if SERVER_STARTSTOP_MODULE: SERVER_STARTSTOP_MODULE.at_server_reload_start()
[ "def", "at_server_reload_start", "(", "self", ")", ":", "if", "SERVER_STARTSTOP_MODULE", ":", "SERVER_STARTSTOP_MODULE", ".", "at_server_reload_start", "(", ")" ]
[ 422, 4 ]
[ 427, 60 ]
python
en
['en', 'error', 'th']
False
Evennia.at_post_portal_sync
(self, mode)
This is called just after the portal has finished syncing back data to the server after reconnecting. Args: mode (str): One of reload, reset or shutdown.
This is called just after the portal has finished syncing back data to the server after reconnecting.
def at_post_portal_sync(self, mode): """ This is called just after the portal has finished syncing back data to the server after reconnecting. Args: mode (str): One of reload, reset or shutdown. """ from evennia.scripts.monitorhandler import MONITOR_HANDLER...
[ "def", "at_post_portal_sync", "(", "self", ",", "mode", ")", ":", "from", "evennia", ".", "scripts", ".", "monitorhandler", "import", "MONITOR_HANDLER", "MONITOR_HANDLER", ".", "restore", "(", "mode", "==", "'reload'", ")", "from", "evennia", ".", "scripts", "...
[ 429, 4 ]
[ 455, 69 ]
python
en
['en', 'error', 'th']
False
Evennia.at_server_reload_stop
(self)
This is called only time the server stops before a reload.
This is called only time the server stops before a reload.
def at_server_reload_stop(self): """ This is called only time the server stops before a reload. """ if SERVER_STARTSTOP_MODULE: SERVER_STARTSTOP_MODULE.at_server_reload_stop()
[ "def", "at_server_reload_stop", "(", "self", ")", ":", "if", "SERVER_STARTSTOP_MODULE", ":", "SERVER_STARTSTOP_MODULE", ".", "at_server_reload_stop", "(", ")" ]
[ 457, 4 ]
[ 462, 59 ]
python
en
['en', 'error', 'th']
False
Evennia.at_server_cold_start
(self)
This is called only when the server starts "cold", i.e. after a shutdown or a reset.
This is called only when the server starts "cold", i.e. after a shutdown or a reset.
def at_server_cold_start(self): """ This is called only when the server starts "cold", i.e. after a shutdown or a reset. """ # We need to do this just in case the server was killed in a way where # the normal cleanup operations did not have time to run. from evenn...
[ "def", "at_server_cold_start", "(", "self", ")", ":", "# We need to do this just in case the server was killed in a way where", "# the normal cleanup operations did not have time to run.", "from", "evennia", ".", "objects", ".", "models", "import", "ObjectDB", "ObjectDB", ".", "o...
[ 464, 4 ]
[ 486, 58 ]
python
en
['en', 'error', 'th']
False
Evennia.at_server_cold_stop
(self)
This is called only when the server goes down due to a shutdown or reset.
This is called only when the server goes down due to a shutdown or reset.
def at_server_cold_stop(self): """ This is called only when the server goes down due to a shutdown or reset. """ if SERVER_STARTSTOP_MODULE: SERVER_STARTSTOP_MODULE.at_server_cold_stop()
[ "def", "at_server_cold_stop", "(", "self", ")", ":", "if", "SERVER_STARTSTOP_MODULE", ":", "SERVER_STARTSTOP_MODULE", ".", "at_server_cold_stop", "(", ")" ]
[ 488, 4 ]
[ 493, 57 ]
python
en
['en', 'error', 'th']
False
_get_mysql_db_version
()
This is a helper method for specifically getting the version string of a MySQL database. Returns: mysql_version (str): The currently used mysql database version.
This is a helper method for specifically getting the version string of a MySQL database.
def _get_mysql_db_version(): """ This is a helper method for specifically getting the version string of a MySQL database. Returns: mysql_version (str): The currently used mysql database version. """ from django.db import connection conn = connection.cursor() conn.ex...
[ "def", "_get_mysql_db_version", "(", ")", ":", "from", "django", ".", "db", "import", "connection", "conn", "=", "connection", ".", "cursor", "(", ")", "conn", ".", "execute", "(", "\"SELECT VERSION()\"", ")", "version", "=", "conn", ".", "fetchone", "(", ...
[ 46, 0 ]
[ 60, 44 ]
python
en
['en', 'error', 'th']
False
_TO_DATESTRING
(obj)
Creates datestring hash. Args: obj (Object): Database object. Returns: datestring (str): A datestring hash.
Creates datestring hash.
def _TO_DATESTRING(obj): """ Creates datestring hash. Args: obj (Object): Database object. Returns: datestring (str): A datestring hash. """ try: return _GA(obj, "db_date_created").strftime(_DATESTRING) except AttributeError: # this can happen if object is ...
[ "def", "_TO_DATESTRING", "(", "obj", ")", ":", "try", ":", "return", "_GA", "(", "obj", ",", "\"db_date_created\"", ")", ".", "strftime", "(", "_DATESTRING", ")", "except", "AttributeError", ":", "# this can happen if object is not yet saved - no datestring is then set"...
[ 88, 0 ]
[ 108, 64 ]
python
en
['en', 'error', 'th']
False
_init_globals
()
Lazy importing to avoid circular import issues
Lazy importing to avoid circular import issues
def _init_globals(): """Lazy importing to avoid circular import issues""" global _FROM_MODEL_MAP, _TO_MODEL_MAP, _SESSION_HANDLER, _IGNORE_DATETIME_MODELS if not _FROM_MODEL_MAP: _FROM_MODEL_MAP = defaultdict(str) _FROM_MODEL_MAP.update(dict((c.model, c.natural_key()) for c in ContentType.ob...
[ "def", "_init_globals", "(", ")", ":", "global", "_FROM_MODEL_MAP", ",", "_TO_MODEL_MAP", ",", "_SESSION_HANDLER", ",", "_IGNORE_DATETIME_MODELS", "if", "not", "_FROM_MODEL_MAP", ":", "_FROM_MODEL_MAP", "=", "defaultdict", "(", "str", ")", "_FROM_MODEL_MAP", ".", "u...
[ 111, 0 ]
[ 126, 85 ]
python
en
['en', 'en', 'en']
True
_save
(method)
method decorator that saves data to Attribute
method decorator that saves data to Attribute
def _save(method): """method decorator that saves data to Attribute""" def save_wrapper(self, *args, **kwargs): self.__doc__ = method.__doc__ ret = method(self, *args, **kwargs) self._save_tree() return ret return update_wrapper(save_wrapper, method)
[ "def", "_save", "(", "method", ")", ":", "def", "save_wrapper", "(", "self", ",", "*", "args", ",", "*", "*", "kwargs", ")", ":", "self", ".", "__doc__", "=", "method", ".", "__doc__", "ret", "=", "method", "(", "self", ",", "*", "args", ",", "*"...
[ 134, 0 ]
[ 142, 47 ]
python
en
['en', 'en', 'en']
True
deserialize
(obj)
Make sure to *fully* decouple a structure from the database, by turning all _Saver*-mutables inside it back into their normal Python forms.
Make sure to *fully* decouple a structure from the database, by turning all _Saver*-mutables inside it back into their normal Python forms.
def deserialize(obj): """ Make sure to *fully* decouple a structure from the database, by turning all _Saver*-mutables inside it back into their normal Python forms. """ def _iter(obj): typ = type(obj) tname = typ.__name__ if tname in ('_SaverDict', 'dict'): retu...
[ "def", "deserialize", "(", "obj", ")", ":", "def", "_iter", "(", "obj", ")", ":", "typ", "=", "type", "(", "obj", ")", "tname", "=", "typ", ".", "__name__", "if", "tname", "in", "(", "'_SaverDict'", ",", "'dict'", ")", ":", "return", "{", "_iter", ...
[ 372, 0 ]
[ 388, 21 ]
python
en
['en', 'error', 'th']
False
pack_dbobj
(item)
Check and convert django database objects to an internal representation. Args: item (any): A database entity to pack Returns: packed (any or tuple): Either returns the original input item or the packing tuple `("__packed_dbobj__", key, creation_time, id)`.
Check and convert django database objects to an internal representation.
def pack_dbobj(item): """ Check and convert django database objects to an internal representation. Args: item (any): A database entity to pack Returns: packed (any or tuple): Either returns the original input item or the packing tuple `("__packed_dbobj__", key, creation_tim...
[ "def", "pack_dbobj", "(", "item", ")", ":", "_init_globals", "(", ")", "obj", "=", "item", "natural_key", "=", "_FROM_MODEL_MAP", "[", "hasattr", "(", "obj", ",", "\"id\"", ")", "and", "hasattr", "(", "obj", ",", "\"db_date_created\"", ")", "and", "hasattr...
[ 395, 0 ]
[ 414, 72 ]
python
en
['en', 'error', 'th']
False
unpack_dbobj
(item)
Check and convert internal representations back to Django database models. Args: item (packed_dbobj): The fact that item is a packed dbobj should be checked before this call. Returns: unpacked (any): Either the original input or converts the internal store back...
Check and convert internal representations back to Django database models.
def unpack_dbobj(item): """ Check and convert internal representations back to Django database models. Args: item (packed_dbobj): The fact that item is a packed dbobj should be checked before this call. Returns: unpacked (any): Either the original input or converts the ...
[ "def", "unpack_dbobj", "(", "item", ")", ":", "_init_globals", "(", ")", "try", ":", "obj", "=", "item", "[", "3", "]", "and", "_TO_MODEL_MAP", "[", "item", "[", "1", "]", "]", ".", "objects", ".", "get", "(", "id", "=", "item", "[", "3", "]", ...
[ 417, 0 ]
[ 448, 61 ]
python
en
['en', 'error', 'th']
False
pack_session
(item)
Handle the safe serializion of Sessions objects (these contain hidden references to database objects (accounts, puppets) so they can't be safely serialized). Args: item (Session)): This item must have all properties of a session before entering this call. Returns: pack...
Handle the safe serializion of Sessions objects (these contain hidden references to database objects (accounts, puppets) so they can't be safely serialized).
def pack_session(item): """ Handle the safe serializion of Sessions objects (these contain hidden references to database objects (accounts, puppets) so they can't be safely serialized). Args: item (Session)): This item must have all properties of a session before entering this c...
[ "def", "pack_session", "(", "item", ")", ":", "_init_globals", "(", ")", "session", "=", "_SESSION_HANDLER", ".", "get", "(", "item", ".", "sessid", ")", "if", "session", "and", "session", ".", "conn_time", "==", "item", ".", "conn_time", ":", "# we requir...
[ 451, 0 ]
[ 476, 15 ]
python
en
['en', 'error', 'th']
False
unpack_session
(item)
Check and convert internal representations back to Sessions. Args: item (packed_session): The fact that item is a packed session should be checked before this call. Returns: unpacked (any): Either the original input or converts the internal store back to a Session....
Check and convert internal representations back to Sessions.
def unpack_session(item): """ Check and convert internal representations back to Sessions. Args: item (packed_session): The fact that item is a packed session should be checked before this call. Returns: unpacked (any): Either the original input or converts the ...
[ "def", "unpack_session", "(", "item", ")", ":", "_init_globals", "(", ")", "session", "=", "_SESSION_HANDLER", ".", "get", "(", "item", "[", "1", "]", ")", "if", "session", "and", "session", ".", "conn_time", "==", "item", "[", "2", "]", ":", "# we req...
[ 479, 0 ]
[ 499, 15 ]
python
en
['en', 'error', 'th']
False
to_pickle
(data)
This prepares data on arbitrary form to be pickled. It handles any nested structure and returns data on a form that is safe to pickle (including having converted any database models to their internal representation). We also convert any Saver*-type objects back to their normal representations, the...
This prepares data on arbitrary form to be pickled. It handles any nested structure and returns data on a form that is safe to pickle (including having converted any database models to their internal representation). We also convert any Saver*-type objects back to their normal representations, the...
def to_pickle(data): """ This prepares data on arbitrary form to be pickled. It handles any nested structure and returns data on a form that is safe to pickle (including having converted any database models to their internal representation). We also convert any Saver*-type objects back to their...
[ "def", "to_pickle", "(", "data", ")", ":", "def", "process_item", "(", "item", ")", ":", "\"\"\"Recursive processor and identification of data\"\"\"", "dtype", "=", "type", "(", "item", ")", "if", "dtype", "in", "(", "basestring", ",", "int", ",", "float", ","...
[ 505, 0 ]
[ 547, 29 ]
python
en
['en', 'error', 'th']
False
from_pickle
(data, db_obj=None)
This should be fed a just de-pickled data object. It will be converted back to a form that may contain database objects again. Note that if a database object was removed (or changed in-place) in the database, None will be returned. Args_ data (any): Pickled data to unpickle. db_obj...
This should be fed a just de-pickled data object. It will be converted back to a form that may contain database objects again. Note that if a database object was removed (or changed in-place) in the database, None will be returned.
def from_pickle(data, db_obj=None): """ This should be fed a just de-pickled data object. It will be converted back to a form that may contain database objects again. Note that if a database object was removed (or changed in-place) in the database, None will be returned. Args_ data (any...
[ "def", "from_pickle", "(", "data", ",", "db_obj", "=", "None", ")", ":", "def", "process_item", "(", "item", ")", ":", "\"\"\"Recursive processor and identification of data\"\"\"", "dtype", "=", "type", "(", "item", ")", "if", "dtype", "in", "(", "basestring", ...
[ 551, 0 ]
[ 670, 29 ]
python
en
['en', 'error', 'th']
False
do_pickle
(data)
Perform pickle to string
Perform pickle to string
def do_pickle(data): """Perform pickle to string""" return to_str(dumps(data, protocol=PICKLE_PROTOCOL))
[ "def", "do_pickle", "(", "data", ")", ":", "return", "to_str", "(", "dumps", "(", "data", ",", "protocol", "=", "PICKLE_PROTOCOL", ")", ")" ]
[ 673, 0 ]
[ 675, 56 ]
python
en
['en', 'en', 'en']
True
do_unpickle
(data)
Retrieve pickle from pickled string
Retrieve pickle from pickled string
def do_unpickle(data): """Retrieve pickle from pickled string""" return loads(to_str(data))
[ "def", "do_unpickle", "(", "data", ")", ":", "return", "loads", "(", "to_str", "(", "data", ")", ")" ]
[ 678, 0 ]
[ 680, 30 ]
python
en
['en', 'en', 'en']
True
dbserialize
(data)
Serialize to pickled form in one step
Serialize to pickled form in one step
def dbserialize(data): """Serialize to pickled form in one step""" return do_pickle(to_pickle(data))
[ "def", "dbserialize", "(", "data", ")", ":", "return", "do_pickle", "(", "to_pickle", "(", "data", ")", ")" ]
[ 683, 0 ]
[ 685, 37 ]
python
en
['en', 'en', 'en']
True
dbunserialize
(data, db_obj=None)
Un-serialize in one step. See from_pickle for help db_obj.
Un-serialize in one step. See from_pickle for help db_obj.
def dbunserialize(data, db_obj=None): """Un-serialize in one step. See from_pickle for help db_obj.""" return from_pickle(do_unpickle(data), db_obj=db_obj)
[ "def", "dbunserialize", "(", "data", ",", "db_obj", "=", "None", ")", ":", "return", "from_pickle", "(", "do_unpickle", "(", "data", ")", ",", "db_obj", "=", "db_obj", ")" ]
[ 688, 0 ]
[ 690, 56 ]
python
en
['en', 'en', 'en']
True
_SaverMutable.__init__
(self, *args, **kwargs)
store all properties for tracking the tree
store all properties for tracking the tree
def __init__(self, *args, **kwargs): """store all properties for tracking the tree""" self._parent = kwargs.pop("_parent", None) self._db_obj = kwargs.pop("_db_obj", None) self._data = None
[ "def", "__init__", "(", "self", ",", "*", "args", ",", "*", "*", "kwargs", ")", ":", "self", ".", "_parent", "=", "kwargs", ".", "pop", "(", "\"_parent\"", ",", "None", ")", "self", ".", "_db_obj", "=", "kwargs", ".", "pop", "(", "\"_db_obj\"", ","...
[ 153, 4 ]
[ 157, 25 ]
python
en
['en', 'en', 'en']
True
_SaverMutable.__nonzero__
(self)
Make sure to evaluate as False if empty
Make sure to evaluate as False if empty
def __nonzero__(self): """Make sure to evaluate as False if empty""" return bool(self._data)
[ "def", "__nonzero__", "(", "self", ")", ":", "return", "bool", "(", "self", ".", "_data", ")" ]
[ 159, 4 ]
[ 161, 31 ]
python
en
['en', 'en', 'en']
True
_SaverMutable._save_tree
(self)
recursively traverse back up the tree, save when we reach the root
recursively traverse back up the tree, save when we reach the root
def _save_tree(self): """recursively traverse back up the tree, save when we reach the root""" if self._parent: self._parent._save_tree() elif self._db_obj: if not self._db_obj.pk: cls_name = self.__class__.__name__ try: ...
[ "def", "_save_tree", "(", "self", ")", ":", "if", "self", ".", "_parent", ":", "self", ".", "_parent", ".", "_save_tree", "(", ")", "elif", "self", ".", "_db_obj", ":", "if", "not", "self", ".", "_db_obj", ".", "pk", ":", "cls_name", "=", "self", "...
[ 163, 4 ]
[ 178, 87 ]
python
en
['en', 'en', 'en']
True
_SaverMutable._convert_mutables
(self, data)
converts mutables to Saver* variants and assigns ._parent property
converts mutables to Saver* variants and assigns ._parent property
def _convert_mutables(self, data): """converts mutables to Saver* variants and assigns ._parent property""" def process_tree(item, parent): """recursively populate the tree, storing parents""" dtype = type(item) if dtype in (basestring, int, float, bool, tuple): ...
[ "def", "_convert_mutables", "(", "self", ",", "data", ")", ":", "def", "process_tree", "(", "item", ",", "parent", ")", ":", "\"\"\"recursively populate the tree, storing parents\"\"\"", "dtype", "=", "type", "(", "item", ")", "if", "dtype", "in", "(", "basestri...
[ 180, 4 ]
[ 200, 39 ]
python
en
['en', 'en', 'en']
True
CredentialAck.__init__
(self, **kwargs)
Initialize credential object.
Initialize credential object.
def __init__(self, **kwargs): """Initialize credential object.""" super().__init__(**kwargs)
[ "def", "__init__", "(", "self", ",", "*", "*", "kwargs", ")", ":", "super", "(", ")", ".", "__init__", "(", "*", "*", "kwargs", ")" ]
[ 21, 4 ]
[ 23, 34 ]
python
en
['en', 'en', 'en']
True
Scatter3d.connectgaps
(self)
Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. The 'connectgaps' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. The 'connectgaps' property must be specified as a bool (either True, or False)
def connectgaps(self): """ Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. The 'connectgaps' property must be specified as a bool (either True, or False) Returns ------- bool """ ...
[ "def", "connectgaps", "(", "self", ")", ":", "return", "self", "[", "\"connectgaps\"", "]" ]
[ 65, 4 ]
[ 77, 34 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 86, 4 ]
[ 100, 33 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 109, 4 ]
[ 121, 36 ]
python
en
['en', 'error', 'th']
False
Scatter3d.error_x
(self)
The 'error_x' property is an instance of ErrorX that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.ErrorX` - A dict of string/value properties that will be passed to the ErrorX constructor Supported dict properties: ...
The 'error_x' property is an instance of ErrorX that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.ErrorX` - A dict of string/value properties that will be passed to the ErrorX constructor Supported dict properties: ...
def error_x(self): """ The 'error_x' property is an instance of ErrorX that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.ErrorX` - A dict of string/value properties that will be passed to the ErrorX constructor Support...
[ "def", "error_x", "(", "self", ")", ":", "return", "self", "[", "\"error_x\"", "]" ]
[ 130, 4 ]
[ 202, 30 ]
python
en
['en', 'error', 'th']
False
Scatter3d.error_y
(self)
The 'error_y' property is an instance of ErrorY that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.ErrorY` - A dict of string/value properties that will be passed to the ErrorY constructor Supported dict properties: ...
The 'error_y' property is an instance of ErrorY that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.ErrorY` - A dict of string/value properties that will be passed to the ErrorY constructor Supported dict properties: ...
def error_y(self): """ The 'error_y' property is an instance of ErrorY that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.ErrorY` - A dict of string/value properties that will be passed to the ErrorY constructor Support...
[ "def", "error_y", "(", "self", ")", ":", "return", "self", "[", "\"error_y\"", "]" ]
[ 211, 4 ]
[ 283, 30 ]
python
en
['en', 'error', 'th']
False
Scatter3d.error_z
(self)
The 'error_z' property is an instance of ErrorZ that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.ErrorZ` - A dict of string/value properties that will be passed to the ErrorZ constructor Supported dict properties: ...
The 'error_z' property is an instance of ErrorZ that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.ErrorZ` - A dict of string/value properties that will be passed to the ErrorZ constructor Supported dict properties: ...
def error_z(self): """ The 'error_z' property is an instance of ErrorZ that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.ErrorZ` - A dict of string/value properties that will be passed to the ErrorZ constructor Support...
[ "def", "error_z", "(", "self", ")", ":", "return", "self", "[", "\"error_z\"", "]" ]
[ 292, 4 ]
[ 362, 30 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 371, 4 ]
[ 388, 32 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 397, 4 ]
[ 409, 35 ]
python
en
['en', 'error', 'th']
False
Scatter3d.hoverlabel
(self)
The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor Supported dict propert...
The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor Supported dict propert...
def hoverlabel(self): """ The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor ...
[ "def", "hoverlabel", "(", "self", ")", ":", "return", "self", "[", "\"hoverlabel\"", "]" ]
[ 418, 4 ]
[ 468, 33 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 477, 4 ]
[ 509, 36 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 518, 4 ]
[ 530, 39 ]
python
en
['en', 'error', 'th']
False
Scatter3d.hovertext
(self)
Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag. ...
Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag. ...
def hovertext(self): """ Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. To be seen, trace `hoverin...
[ "def", "hovertext", "(", "self", ")", ":", "return", "self", "[", "\"hovertext\"", "]" ]
[ 539, 4 ]
[ 556, 32 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 565, 4 ]
[ 577, 35 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 586, 4 ]
[ 599, 26 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 608, 4 ]
[ 619, 29 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 628, 4 ]
[ 642, 34 ]
python
en
['en', 'error', 'th']
False
Scatter3d.line
(self)
The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.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.scatter3d.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.scatter3d.Line` - A dict of string/value properties that will be passed to the Line constructor Supported dict prop...
[ "def", "line", "(", "self", ")", ":", "return", "self", "[", "\"line\"", "]" ]
[ 651, 4 ]
[ 756, 27 ]
python
en
['en', 'error', 'th']
False
Scatter3d.marker
(self)
The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.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.scatter3d.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.scatter3d.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported...
[ "def", "marker", "(", "self", ")", ":", "return", "self", "[", "\"marker\"", "]" ]
[ 765, 4 ]
[ 901, 29 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 910, 4 ]
[ 929, 27 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 938, 4 ]
[ 949, 30 ]
python
en
['en', 'error', 'th']
False
Scatter3d.mode
(self)
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines...
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines...
def mode(self): """ Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked...
[ "def", "mode", "(", "self", ")", ":", "return", "self", "[", "\"mode\"", "]" ]
[ 958, 4 ]
[ 977, 27 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 986, 4 ]
[ 999, 27 ]
python
en
['en', 'error', 'th']
False
Scatter3d.opacity
(self)
Sets the opacity of the trace. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Sets the opacity of the trace. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1]
def opacity(self): """ Sets the opacity of the trace. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float """ return self["opacity"]
[ "def", "opacity", "(", "self", ")", ":", "return", "self", "[", "\"opacity\"", "]" ]
[ 1008, 4 ]
[ 1019, 30 ]
python
en
['en', 'error', 'th']
False
Scatter3d.projection
(self)
The 'projection' property is an instance of Projection that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.Projection` - A dict of string/value properties that will be passed to the Projection constructor Supported dict propert...
The 'projection' property is an instance of Projection that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.Projection` - A dict of string/value properties that will be passed to the Projection constructor Supported dict propert...
def projection(self): """ The 'projection' property is an instance of Projection that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.Projection` - A dict of string/value properties that will be passed to the Projection constructor ...
[ "def", "projection", "(", "self", ")", ":", "return", "self", "[", "\"projection\"", "]" ]
[ 1028, 4 ]
[ 1055, 33 ]
python
en
['en', 'error', 'th']
False
Scatter3d.scene
(self)
Sets a reference between this trace's 3D coordinate system and a 3D scene. If "scene" (the default value), the (x,y,z) coordinates refer to `layout.scene`. If "scene2", the (x,y,z) coordinates refer to `layout.scene2`, and so on. The 'scene' property is an identifier of a p...
Sets a reference between this trace's 3D coordinate system and a 3D scene. If "scene" (the default value), the (x,y,z) coordinates refer to `layout.scene`. If "scene2", the (x,y,z) coordinates refer to `layout.scene2`, and so on. The 'scene' property is an identifier of a p...
def scene(self): """ Sets a reference between this trace's 3D coordinate system and a 3D scene. If "scene" (the default value), the (x,y,z) coordinates refer to `layout.scene`. If "scene2", the (x,y,z) coordinates refer to `layout.scene2`, and so on. The 'scene' prop...
[ "def", "scene", "(", "self", ")", ":", "return", "self", "[", "\"scene\"", "]" ]
[ 1064, 4 ]
[ 1080, 28 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 1089, 4 ]
[ 1101, 33 ]
python
en
['en', 'error', 'th']
False
Scatter3d.stream
(self)
The 'stream' property is an instance of Stream that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.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.scatter3d.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.scatter3d.Stream` - A dict of string/value properties that will be passed to the Stream constructor Supported...
[ "def", "stream", "(", "self", ")", ":", "return", "self", "[", "\"stream\"", "]" ]
[ 1110, 4 ]
[ 1134, 29 ]
python
en
['en', 'error', 'th']
False
Scatter3d.surfaceaxis
(self)
If "-1", the scatter points are not fill with a surface If 0, 1, 2, the scatter points are filled with a Delaunay surface about the x, y, z respectively. The 'surfaceaxis' property is an enumeration that may be specified as: - One of the following enumeration values: ...
If "-1", the scatter points are not fill with a surface If 0, 1, 2, the scatter points are filled with a Delaunay surface about the x, y, z respectively. The 'surfaceaxis' property is an enumeration that may be specified as: - One of the following enumeration values: ...
def surfaceaxis(self): """ If "-1", the scatter points are not fill with a surface If 0, 1, 2, the scatter points are filled with a Delaunay surface about the x, y, z respectively. The 'surfaceaxis' property is an enumeration that may be specified as: - One of the ...
[ "def", "surfaceaxis", "(", "self", ")", ":", "return", "self", "[", "\"surfaceaxis\"", "]" ]
[ 1143, 4 ]
[ 1157, 34 ]
python
en
['en', 'error', 'th']
False
Scatter3d.surfacecolor
(self)
Sets the surface fill color. The 'surfacecolor' 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 surface fill color. The 'surfacecolor' 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 surfacecolor(self): """ Sets the surface fill color. The 'surfacecolor' 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/...
[ "def", "surfacecolor", "(", "self", ")", ":", "return", "self", "[", "\"surfacecolor\"", "]" ]
[ 1166, 4 ]
[ 1216, 35 ]
python
en
['en', 'error', 'th']
False
Scatter3d.text
(self)
Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext...
Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext...
def text(self): """ Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. If trace `hoverinfo` contains a...
[ "def", "text", "(", "self", ")", ":", "return", "self", "[", "\"text\"", "]" ]
[ 1225, 4 ]
[ 1243, 27 ]
python
en
['en', 'error', 'th']
False
Scatter3d.textfont
(self)
The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.Textfont` - A dict of string/value properties that will be passed to the Textfont constructor Supported dict properties: ...
The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.Textfont` - A dict of string/value properties that will be passed to the Textfont constructor Supported dict properties: ...
def textfont(self): """ The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.scatter3d.Textfont` - A dict of string/value properties that will be passed to the Textfont constructor ...
[ "def", "textfont", "(", "self", ")", ":", "return", "self", "[", "\"textfont\"", "]" ]
[ 1252, 4 ]
[ 1294, 31 ]
python
en
['en', 'error', 'th']
False
Scatter3d.textposition
(self)
Sets the positions of the `text` elements with respects to the (x,y) coordinates. The 'textposition' property is an enumeration that may be specified as: - One of the following enumeration values: ['top left', 'top center', 'top right', 'middle left', ...
Sets the positions of the `text` elements with respects to the (x,y) coordinates. The 'textposition' property is an enumeration that may be specified as: - One of the following enumeration values: ['top left', 'top center', 'top right', 'middle left', ...
def textposition(self): """ Sets the positions of the `text` elements with respects to the (x,y) coordinates. The 'textposition' property is an enumeration that may be specified as: - One of the following enumeration values: ['top left', 'top center', 'top ...
[ "def", "textposition", "(", "self", ")", ":", "return", "self", "[", "\"textposition\"", "]" ]
[ 1303, 4 ]
[ 1319, 35 ]
python
en
['en', 'error', 'th']
False
Scatter3d.textpositionsrc
(self)
Sets the source reference on Chart Studio Cloud for textposition . The 'textpositionsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for textposition . The 'textpositionsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def textpositionsrc(self): """ Sets the source reference on Chart Studio Cloud for textposition . The 'textpositionsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self[...
[ "def", "textpositionsrc", "(", "self", ")", ":", "return", "self", "[", "\"textpositionsrc\"", "]" ]
[ 1328, 4 ]
[ 1340, 38 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 1349, 4 ]
[ 1360, 30 ]
python
en
['en', 'error', 'th']
False
Scatter3d.texttemplate
(self)
Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:...
Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:...
def texttemplate(self): """ Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d...
[ "def", "texttemplate", "(", "self", ")", ":", "return", "self", "[", "\"texttemplate\"", "]" ]
[ 1369, 4 ]
[ 1395, 35 ]
python
en
['en', 'error', 'th']
False
Scatter3d.texttemplatesrc
(self)
Sets the source reference on Chart Studio Cloud for texttemplate . The 'texttemplatesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for texttemplate . The 'texttemplatesrc' property must be specified as a string or as a plotly.grid_objs.Column object
def texttemplatesrc(self): """ Sets the source reference on Chart Studio Cloud for texttemplate . The 'texttemplatesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self[...
[ "def", "texttemplatesrc", "(", "self", ")", ":", "return", "self", "[", "\"texttemplatesrc\"", "]" ]
[ 1404, 4 ]
[ 1416, 38 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 1425, 4 ]
[ 1438, 26 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 1447, 4 ]
[ 1471, 33 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 1480, 4 ]
[ 1494, 30 ]
python
en
['en', 'error', 'th']
False
Scatter3d.x
(self)
Sets the x coordinates. The 'x' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the x coordinates. The 'x' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def x(self): """ Sets the x coordinates. The 'x' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["x"]
[ "def", "x", "(", "self", ")", ":", "return", "self", "[", "\"x\"", "]" ]
[ 1503, 4 ]
[ 1514, 24 ]
python
en
['en', 'error', 'th']
False
Scatter3d.xcalendar
(self)
Sets the calendar system to use with `x` date data. The 'xcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
Sets the calendar system to use with `x` date data. The 'xcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
def xcalendar(self): """ Sets the calendar system to use with `x` date data. The 'xcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian',...
[ "def", "xcalendar", "(", "self", ")", ":", "return", "self", "[", "\"xcalendar\"", "]" ]
[ 1523, 4 ]
[ 1538, 32 ]
python
en
['en', 'error', 'th']
False
Scatter3d.xsrc
(self)
Sets the source reference on Chart Studio Cloud for x . The 'xsrc' 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 x . The 'xsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def xsrc(self): """ Sets the source reference on Chart Studio Cloud for x . The 'xsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["xsrc"]
[ "def", "xsrc", "(", "self", ")", ":", "return", "self", "[", "\"xsrc\"", "]" ]
[ 1547, 4 ]
[ 1558, 27 ]
python
en
['en', 'error', 'th']
False
Scatter3d.y
(self)
Sets the y coordinates. The 'y' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the y coordinates. The 'y' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def y(self): """ Sets the y coordinates. The 'y' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["y"]
[ "def", "y", "(", "self", ")", ":", "return", "self", "[", "\"y\"", "]" ]
[ 1567, 4 ]
[ 1578, 24 ]
python
en
['en', 'error', 'th']
False
Scatter3d.ycalendar
(self)
Sets the calendar system to use with `y` date data. The 'ycalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
Sets the calendar system to use with `y` date data. The 'ycalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
def ycalendar(self): """ Sets the calendar system to use with `y` date data. The 'ycalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian',...
[ "def", "ycalendar", "(", "self", ")", ":", "return", "self", "[", "\"ycalendar\"", "]" ]
[ 1587, 4 ]
[ 1602, 32 ]
python
en
['en', 'error', 'th']
False
Scatter3d.ysrc
(self)
Sets the source reference on Chart Studio Cloud for y . The 'ysrc' 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 y . The 'ysrc' property must be specified as a string or as a plotly.grid_objs.Column object
def ysrc(self): """ Sets the source reference on Chart Studio Cloud for y . The 'ysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["ysrc"]
[ "def", "ysrc", "(", "self", ")", ":", "return", "self", "[", "\"ysrc\"", "]" ]
[ 1611, 4 ]
[ 1622, 27 ]
python
en
['en', 'error', 'th']
False
Scatter3d.z
(self)
Sets the z coordinates. The 'z' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the z coordinates. The 'z' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def z(self): """ Sets the z coordinates. 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\"", "]" ]
[ 1631, 4 ]
[ 1642, 24 ]
python
en
['en', 'error', 'th']
False
Scatter3d.zcalendar
(self)
Sets the calendar system to use with `z` date data. The 'zcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
Sets the calendar system to use with `z` date data. The 'zcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
def zcalendar(self): """ Sets the calendar system to use with `z` date data. The 'zcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian',...
[ "def", "zcalendar", "(", "self", ")", ":", "return", "self", "[", "\"zcalendar\"", "]" ]
[ 1651, 4 ]
[ 1666, 32 ]
python
en
['en', 'error', 'th']
False
Scatter3d.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\"", "]" ]
[ 1675, 4 ]
[ 1686, 27 ]
python
en
['en', 'error', 'th']
False
Scatter3d.__init__
( self, arg=None, connectgaps=None, customdata=None, customdatasrc=None, error_x=None, error_y=None, error_z=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplatesrc=None, ...
Construct a new Scatter3d object The data visualized as scatter point or lines in 3D dimension is set in `x`, `y`, `z`. Text (appearing either on the chart or on hover only) is via `text`. Bubble charts are achieved by setting `marker.size` and/or `marker.color` Project...
Construct a new Scatter3d object The data visualized as scatter point or lines in 3D dimension is set in `x`, `y`, `z`. Text (appearing either on the chart or on hover only) is via `text`. Bubble charts are achieved by setting `marker.size` and/or `marker.color` Project...
def __init__( self, arg=None, connectgaps=None, customdata=None, customdatasrc=None, error_x=None, error_y=None, error_z=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplatesrc=...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "connectgaps", "=", "None", ",", "customdata", "=", "None", ",", "customdatasrc", "=", "None", ",", "error_x", "=", "None", ",", "error_y", "=", "None", ",", "error_z", "=", "None", ",", "...
[ 1925, 4 ]
[ 2452, 34 ]
python
en
['en', 'error', 'th']
False
Paginate.__init__
(self, *, limit: int = None, offset: int = None, **kwargs)
Initialize a Paginate instance. Args: limit: Limit the number of requested records offset: Set the offset of the first requested result
Initialize a Paginate instance.
def __init__(self, *, limit: int = None, offset: int = None, **kwargs): """ Initialize a Paginate instance. Args: limit: Limit the number of requested records offset: Set the offset of the first requested result """ super(Paginate, self).__init__(**kwarg...
[ "def", "__init__", "(", "self", ",", "*", ",", "limit", ":", "int", "=", "None", ",", "offset", ":", "int", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Paginate", ",", "self", ")", ".", "__init__", "(", "*", "*", "kwargs", ")...
[ 15, 4 ]
[ 26, 28 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.dtickrange
(self)
range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The...
range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The...
def dtickrange(self): """ range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple...
[ "def", "dtickrange", "(", "self", ")", ":", "return", "self", "[", "\"dtickrange\"", "]" ]
[ 15, 4 ]
[ 31, 33 ]
python
en
['en', 'error', 'th']
False