You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"plotly","path":"plotly","contentType":"directory"},{"name":"specs","path":"specs","contentType":"directory"},{"name":"submodules","path":"submodules","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".gitmodules","path":".gitmodules","contentType":"file"},{"name":"CHANGELOG.md","path":"CHANGELOG.md","contentType":"file"},{"name":"CODE_OF_CONDUCT.md","path":"CODE_OF_CONDUCT.md","contentType":"file"},{"name":"LICENSE.txt","path":"LICENSE.txt","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"README.rst","path":"README.rst","contentType":"file"},{"name":"bld.bat","path":"bld.bat","contentType":"file"},{"name":"build.sh","path":"build.sh","contentType":"file"},{"name":"build_for_conda.md","path":"build_for_conda.md","contentType":"file"},{"name":"circle.yml","path":"circle.yml","contentType":"file"},{"name":"compatibility.md","path":"compatibility.md","contentType":"file"},{"name":"contributing.md","path":"contributing.md","contentType":"file"},{"name":"make_instructions.txt","path":"make_instructions.txt","contentType":"file"},{"name":"makefile","path":"makefile","contentType":"file"},{"name":"meta.yaml","path":"meta.yaml","contentType":"file"},{"name":"optional-requirements.txt","path":"optional-requirements.txt","contentType":"file"},{"name":"requirements.txt","path":"requirements.txt","contentType":"file"},{"name":"setup.cfg","path":"setup.cfg","contentType":"file"},{"name":"setup.py","path":"setup.py","contentType":"file"},{"name":"tox.ini","path":"tox.ini","contentType":"file"},{"name":"update_graph_objs.py","path":"update_graph_objs.py","contentType":"file"}],"totalCount":26}},"fileTreeProcessingTime":7.651314999999999,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":139456101,"defaultBranch":"master","name":"plotly.py","ownerLogin":"NGTS-AUS","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2018-07-02T14:42:34.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/12233111?v=4","public":true,"private":false,"isOrgOwned":true},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1636119026.6427898","canEdit":false,"refType":"branch","currentOid":"519e0ab32b2164583f78b51168ce3412c08334e5"},"path":"update_graph_objs.py","currentUser":null,"blob":{"rawLines":["from __future__ import print_function","","from plotly.graph_objs import graph_objs_tools","from plotly.graph_reference import ARRAYS, CLASSES","","FLAG = '# AUTO-GENERATED BELOW. DO NOT EDIT! See makefile.'","","","def get_non_generated_file_lines():"," \"\"\""," Copy each line up to our special FLAG line and return.",""," :raises: (ValueError) If the FLAG isn't found."," :return: (list) The lines we're copying."," \"\"\"",""," lines_to_copy = []"," flag_found = False"," with open('./plotly/graph_objs/graph_objs.py', 'r') as f:"," for line_to_copy in f:"," if line_to_copy.startswith(FLAG):"," flag_found = True"," break"," lines_to_copy.append(line_to_copy)"," if not flag_found:"," raise ValueError("," 'Failed to find flag:\\n\"{}\"\\nin graph_objs_tools.py.'.format(FLAG)"," )"," return lines_to_copy","","","def print_figure_patch(f):"," \"\"\"Print a patch to our Figure object into the given open file.\"\"\"",""," print("," '''"," def __init__(self, *args, **kwargs):"," super(Figure, self).__init__(*args, **kwargs)"," if 'data' not in self:"," self.data = Data(_parent=self, _parent_key='data')",""," def get_data(self, flatten=False):"," \"\"\""," Returns the JSON for the plot with non-data elements stripped.",""," Flattening may increase the utility of the result.",""," :param (bool) flatten: {'a': {'b': ''}} --\u003e {'a.b': ''}"," :returns: (dict|list) Depending on (flat|unflat)",""," \"\"\""," return self.data.get_data(flatten=flatten)",""," def to_dataframe(self):"," \"\"\""," Create a dataframe with trace names and keys as column names.",""," :return: (DataFrame)",""," \"\"\""," data = self.get_data(flatten=True)"," from pandas import DataFrame, Series"," return DataFrame("," dict([(k, Series(v)) for k, v in data.items()]))",""," def print_grid(self):"," \"\"\""," Print a visual layout of the figure's axes arrangement.",""," This is only valid for figures that are created"," with plotly.tools.make_subplots.",""," \"\"\""," try:"," grid_str = self.__dict__['_grid_str']"," except AttributeError:"," raise Exception(\"Use plotly.tools.make_subplots \""," \"to create a subplot grid.\")"," print(grid_str)",""," def append_trace(self, trace, row, col):"," \"\"\""," Add a trace to your figure bound to axes at the row, col index.",""," The row, col index is generated from figures created with"," plotly.tools.make_subplots and can be viewed with"," Figure.print_grid.",""," :param (dict) trace: The data trace to be bound."," :param (int) row: Subplot row index (see Figure.print_grid)."," :param (int) col: Subplot column index (see Figure.print_grid).",""," Example:"," # stack two subplots vertically"," fig = tools.make_subplots(rows=2)",""," This is the format of your plot grid:"," [ (1,1) x1,y1 ]"," [ (2,1) x2,y2 ]",""," fig.append_trace(Scatter(x=[1,2,3], y=[2,1,2]), 1, 1)"," fig.append_trace(Scatter(x=[1,2,3], y=[2,1,2]), 2, 1)",""," \"\"\""," try:"," grid_ref = self._grid_ref"," except AttributeError:"," raise Exception(\"In order to use Figure.append_trace, \""," \"you must first use \""," \"plotly.tools.make_subplots \""," \"to create a subplot grid.\")"," if row \u003c= 0:"," raise Exception(\"Row value is out of range. \""," \"Note: the starting cell is (1, 1)\")"," if col \u003c= 0:"," raise Exception(\"Col value is out of range. \""," \"Note: the starting cell is (1, 1)\")"," try:"," ref = grid_ref[row-1][col-1]"," except IndexError:"," raise Exception(\"The (row, col) pair sent is out of \""," \"range. Use Figure.print_grid to view the \""," \"subplot grid. \")"," if 'scene' in ref[0]:"," trace['scene'] = ref[0]"," if ref[0] not in self['layout']:"," raise Exception(\"Something went wrong. \""," \"The scene object for ({r},{c}) \""," \"subplot cell \""," \"got deleted.\".format(r=row, c=col))"," else:"," xaxis_key = \"xaxis{ref}\".format(ref=ref[0][1:])"," yaxis_key = \"yaxis{ref}\".format(ref=ref[1][1:])"," if (xaxis_key not in self['layout']"," or yaxis_key not in self['layout']):"," raise Exception(\"Something went wrong. \""," \"An axis object for ({r},{c}) subplot \""," \"cell got deleted.\""," .format(r=row, c=col))"," trace['xaxis'] = ref[0]"," trace['yaxis'] = ref[1]"," self['data'] += [trace]","''', file=f, end=''"," )","","","def print_data_patch(f):"," \"\"\"Print a patch to our Data object into the given open file.\"\"\""," print("," '''"," def _value_to_graph_object(self, index, value, _raise=True):",""," if not isinstance(value, dict):"," if _raise:"," notes = ['Entry should subclass dict.']"," path = self._get_path() + (index, )"," raise exceptions.PlotlyListEntryError(self, path,"," notes=notes)"," else:"," return",""," item = value.get('type', 'scatter')"," if item not in graph_reference.ARRAYS['data']['items']:"," if _raise:"," path = self._get_path() + (0, )"," raise exceptions.PlotlyDataTypeError(self, path)",""," return GraphObjectFactory.create(item, _raise=_raise,"," _parent=self,"," _parent_key=index, **value)",""," def get_data(self, flatten=False):"," \"\"\""," Returns the JSON for the plot with non-data elements stripped.",""," :param (bool) flatten: {'a': {'b': ''}} --\u003e {'a.b': ''}"," :returns: (dict|list) Depending on (flat|unflat)",""," \"\"\""," if flatten:"," data = [v.get_data(flatten=flatten) for v in self]"," d = {}"," taken_names = []"," for i, trace in enumerate(data):",""," # we want to give the traces helpful names"," # however, we need to be sure they're unique too..."," trace_name = trace.pop('name', 'trace_{0}'.format(i))"," if trace_name in taken_names:"," j = 1"," new_trace_name = \"{0}_{1}\".format(trace_name, j)"," while new_trace_name in taken_names:"," new_trace_name = ("," \"{0}_{1}\".format(trace_name, j)"," )"," j += 1"," trace_name = new_trace_name"," taken_names.append(trace_name)",""," # finish up the dot-concatenation"," for k, v in trace.items():"," key = \"{0}.{1}\".format(trace_name, k)"," d[key] = v"," return d"," else:"," return super(Data, self).get_data(flatten=flatten)","''', file=f, end=''"," )","","","def print_frames_patch(f):"," \"\"\"Print a patch to our Frames object into the given open file.\"\"\""," print("," '''"," def _value_to_graph_object(self, index, value, _raise=True):"," if isinstance(value, six.string_types):"," return value"," return super(Frames, self)._value_to_graph_object(index, value,"," _raise=_raise)",""," def to_string(self, level=0, indent=4, eol='\\\\n',"," pretty=True, max_chars=80):"," \"\"\"Get formatted string by calling `to_string` on children items.\"\"\""," if not len(self):"," return \"{name}()\".format(name=self._get_class_name())"," string = \"{name}([{eol}{indent}\".format("," name=self._get_class_name(),"," eol=eol,"," indent=' ' * indent * (level + 1))"," for index, entry in enumerate(self):"," if isinstance(entry, six.string_types):"," string += repr(entry)"," else:"," string += entry.to_string(level=level+1,"," indent=indent,"," eol=eol,"," pretty=pretty,"," max_chars=max_chars)"," if index \u003c len(self) - 1:"," string += \",{eol}{indent}\".format("," eol=eol,"," indent=' ' * indent * (level + 1))"," string += ("," \"{eol}{indent}])\").format(eol=eol, indent=' ' * indent * level)"," return string","''', file=f, end=''"," )","","","def print_class(name, f):"," class_dict = CLASSES[name]"," print('\\n', file=f)"," object_name = class_dict['object_name']"," base_type = class_dict['base_type']",""," # This is for backwards compat (e.g., Trace) and future changes."," if object_name is None:"," print('class {}({}):'.format(name, base_type.__name__),"," file=f)"," print(' pass', file=f)"," return",""," doc = graph_objs_tools.get_help(object_name)"," if object_name in ARRAYS:"," base_name = 'PlotlyList'"," else:"," base_name = 'PlotlyDict'"," print('class {}({}):'.format(name, base_name), file=f)"," doc_lines = doc.splitlines()"," print(' \"\"\"', file=f)"," for doc_line in doc_lines:"," print(' ' + doc_line, file=f)"," print('\\n \"\"\"', file=f)"," print(\" _name = '{}'\".format(object_name), file=f)"," if name == 'Figure':"," print_figure_patch(f)"," elif name == 'Data':"," print_data_patch(f)"," elif name == 'Frames':"," print_frames_patch(f)","","copied_lines = get_non_generated_file_lines()","with open('./plotly/graph_objs/graph_objs.py', 'w') as graph_objs_file:",""," # Keep things *exactly* as they were above our special FLAG."," for line in copied_lines:"," print(line, file=graph_objs_file, end='')"," print(FLAG, file=graph_objs_file)",""," # For each object in the plot schema, generate a class in the file."," class_names = list(CLASSES.keys())"," class_names.sort()"," for class_name in class_names:"," print_class(class_name, graph_objs_file)",""," # Finish off the file by only exporting plot-schema names."," print('\\n__all__ = [cls for cls in graph_reference.CLASSES.keys() '"," 'if cls in globals()]', file=graph_objs_file)"],"stylingDirectives":[[[0,4,"pl-k"],[16,22,"pl-k"],[23,37,"pl-s1"]],[],[[0,4,"pl-k"],[5,11,"pl-s1"],[12,22,"pl-s1"],[23,29,"pl-k"],[30,46,"pl-s1"]],[[0,4,"pl-k"],[5,11,"pl-s1"],[12,27,"pl-s1"],[28,34,"pl-k"],[35,41,"pl-c1"],[43,50,"pl-c1"]],[],[[0,4,"pl-c1"],[5,6,"pl-c1"],[7,59,"pl-s"]],[],[],[[0,3,"pl-k"],[4,32,"pl-en"]],[[4,7,"pl-s"]],[[0,58,"pl-s"]],[[0,0,"pl-s"]],[[0,50,"pl-s"]],[[0,44,"pl-s"]],[[0,7,"pl-s"]],[],[[4,17,"pl-s1"],[18,19,"pl-c1"]],[[4,14,"pl-s1"],[15,16,"pl-c1"],[17,22,"pl-c1"]],[[4,8,"pl-k"],[9,13,"pl-en"],[14,49,"pl-s"],[51,54,"pl-s"],[56,58,"pl-k"],[59,60,"pl-s1"]],[[8,11,"pl-k"],[12,24,"pl-s1"],[25,27,"pl-c1"],[28,29,"pl-s1"]],[[12,14,"pl-k"],[15,27,"pl-s1"],[28,38,"pl-c1"],[39,43,"pl-c1"]],[[16,26,"pl-s1"],[27,28,"pl-c1"],[29,33,"pl-c1"]],[[16,21,"pl-k"]],[[12,25,"pl-s1"],[26,32,"pl-c1"],[33,45,"pl-s1"]],[[4,6,"pl-k"],[7,10,"pl-c1"],[11,21,"pl-s1"]],[[8,13,"pl-k"],[14,24,"pl-en"]],[[12,65,"pl-s"],[33,35,"pl-cce"],[39,41,"pl-cce"],[66,72,"pl-c1"],[73,77,"pl-c1"]],[],[[4,10,"pl-k"],[11,24,"pl-s1"]],[],[],[[0,3,"pl-k"],[4,22,"pl-en"],[23,24,"pl-s1"]],[[4,70,"pl-s"]],[],[[4,9,"pl-en"]],[[8,11,"pl-s"]],[[0,40,"pl-s"]],[[0,53,"pl-s"]],[[0,30,"pl-s"]],[[0,62,"pl-s"]],[[0,0,"pl-s"]],[[0,38,"pl-s"]],[[0,11,"pl-s"]],[[0,70,"pl-s"]],[[0,0,"pl-s"]],[[0,58,"pl-s"]],[[0,0,"pl-s"]],[[0,63,"pl-s"]],[[0,56,"pl-s"]],[[0,0,"pl-s"]],[[0,11,"pl-s"]],[[0,50,"pl-s"]],[[0,0,"pl-s"]],[[0,27,"pl-s"]],[[0,11,"pl-s"]],[[0,69,"pl-s"]],[[0,0,"pl-s"]],[[0,28,"pl-s"]],[[0,0,"pl-s"]],[[0,11,"pl-s"]],[[0,42,"pl-s"]],[[0,44,"pl-s"]],[[0,25,"pl-s"]],[[0,60,"pl-s"]],[[0,0,"pl-s"]],[[0,25,"pl-s"]],[[0,11,"pl-s"]],[[0,63,"pl-s"]],[[0,0,"pl-s"]],[[0,55,"pl-s"]],[[0,40,"pl-s"]],[[0,0,"pl-s"]],[[0,11,"pl-s"]],[[0,12,"pl-s"]],[[0,49,"pl-s"]],[[0,30,"pl-s"]],[[0,61,"pl-s"]],[[0,56,"pl-s"]],[[0,23,"pl-s"]],[[0,0,"pl-s"]],[[0,44,"pl-s"]],[[0,11,"pl-s"]],[[0,71,"pl-s"]],[[0,0,"pl-s"]],[[0,65,"pl-s"]],[[0,57,"pl-s"]],[[0,26,"pl-s"]],[[0,0,"pl-s"]],[[0,56,"pl-s"]],[[0,68,"pl-s"]],[[0,71,"pl-s"]],[[0,0,"pl-s"]],[[0,16,"pl-s"]],[[0,39,"pl-s"]],[[0,41,"pl-s"]],[[0,0,"pl-s"]],[[0,45,"pl-s"]],[[0,23,"pl-s"]],[[0,23,"pl-s"]],[[0,0,"pl-s"]],[[0,61,"pl-s"]],[[0,61,"pl-s"]],[[0,0,"pl-s"]],[[0,11,"pl-s"]],[[0,12,"pl-s"]],[[0,37,"pl-s"]],[[0,30,"pl-s"]],[[0,67,"pl-s"]],[[0,49,"pl-s"]],[[0,57,"pl-s"]],[[0,56,"pl-s"]],[[0,20,"pl-s"]],[[0,57,"pl-s"]],[[0,64,"pl-s"]],[[0,20,"pl-s"]],[[0,57,"pl-s"]],[[0,64,"pl-s"]],[[0,12,"pl-s"]],[[0,40,"pl-s"]],[[0,26,"pl-s"]],[[0,65,"pl-s"]],[[0,71,"pl-s"]],[[0,45,"pl-s"]],[[0,29,"pl-s"]],[[0,35,"pl-s"]],[[0,44,"pl-s"]],[[0,56,"pl-s"]],[[0,65,"pl-s"]],[[0,47,"pl-s"]],[[0,68,"pl-s"]],[[0,13,"pl-s"]],[[0,59,"pl-s"]],[[0,59,"pl-s"]],[[0,47,"pl-s"]],[[0,56,"pl-s"]],[[0,56,"pl-s"]],[[0,71,"pl-s"]],[[0,51,"pl-s"]],[[0,54,"pl-s"]],[[0,35,"pl-s"]],[[0,35,"pl-s"]],[[0,31,"pl-s"]],[[0,3,"pl-s"],[5,9,"pl-s1"],[9,10,"pl-c1"],[10,11,"pl-s1"],[13,16,"pl-s1"],[16,17,"pl-c1"],[17,19,"pl-s"]],[],[],[],[[0,3,"pl-k"],[4,20,"pl-en"],[21,22,"pl-s1"]],[[4,68,"pl-s"]],[[4,9,"pl-en"]],[[8,11,"pl-s"]],[[0,64,"pl-s"]],[[0,0,"pl-s"]],[[0,39,"pl-s"]],[[0,22,"pl-s"]],[[0,55,"pl-s"]],[[0,51,"pl-s"]],[[0,65,"pl-s"]],[[0,66,"pl-s"]],[[0,17,"pl-s"]],[[0,22,"pl-s"]],[[0,0,"pl-s"]],[[0,43,"pl-s"]],[[0,63,"pl-s"]],[[0,22,"pl-s"]],[[0,47,"pl-s"]],[[0,64,"pl-s"]],[[0,0,"pl-s"]],[[0,61,"pl-s"]],[[0,54,"pl-s"]],[[0,68,"pl-s"]],[[0,0,"pl-s"]],[[0,38,"pl-s"]],[[0,11,"pl-s"]],[[0,70,"pl-s"]],[[0,0,"pl-s"]],[[0,63,"pl-s"]],[[0,56,"pl-s"]],[[0,0,"pl-s"]],[[0,11,"pl-s"]],[[0,19,"pl-s"]],[[0,62,"pl-s"]],[[0,18,"pl-s"]],[[0,28,"pl-s"]],[[0,44,"pl-s"]],[[0,0,"pl-s"]],[[0,58,"pl-s"]],[[0,67,"pl-s"]],[[0,69,"pl-s"]],[[0,45,"pl-s"]],[[0,25,"pl-s"]],[[0,68,"pl-s"]],[[0,56,"pl-s"]],[[0,42,"pl-s"]],[[0,59,"pl-s"]],[[0,25,"pl-s"]],[[0,30,"pl-s"]],[[0,47,"pl-s"]],[[0,46,"pl-s"]],[[0,0,"pl-s"]],[[0,49,"pl-s"]],[[0,42,"pl-s"]],[[0,57,"pl-s"]],[[0,30,"pl-s"]],[[0,20,"pl-s"]],[[0,13,"pl-s"]],[[0,62,"pl-s"]],[[0,3,"pl-s"],[5,9,"pl-s1"],[9,10,"pl-c1"],[10,11,"pl-s1"],[13,16,"pl-s1"],[16,17,"pl-c1"],[17,19,"pl-s"]],[],[],[],[[0,3,"pl-k"],[4,22,"pl-en"],[23,24,"pl-s1"]],[[4,70,"pl-s"]],[[4,9,"pl-en"]],[[8,11,"pl-s"]],[[0,64,"pl-s"]],[[0,47,"pl-s"]],[[0,24,"pl-s"]],[[0,71,"pl-s"]],[[0,72,"pl-s"]],[[0,0,"pl-s"]],[[0,53,"pl-s"],[48,50,"pl-cce"]],[[0,45,"pl-s"]],[[0,76,"pl-s"]],[[0,25,"pl-s"]],[[0,65,"pl-s"]],[[0,48,"pl-s"]],[[0,40,"pl-s"]],[[0,20,"pl-s"]],[[0,46,"pl-s"]],[[0,44,"pl-s"]],[[0,51,"pl-s"]],[[0,37,"pl-s"]],[[0,17,"pl-s"]],[[0,56,"pl-s"]],[[0,56,"pl-s"]],[[0,50,"pl-s"]],[[0,56,"pl-s"]],[[0,62,"pl-s"]],[[0,37,"pl-s"]],[[0,50,"pl-s"]],[[0,28,"pl-s"]],[[0,54,"pl-s"]],[[0,19,"pl-s"]],[[0,75,"pl-s"]],[[0,21,"pl-s"]],[[0,3,"pl-s"],[5,9,"pl-s1"],[9,10,"pl-c1"],[10,11,"pl-s1"],[13,16,"pl-s1"],[16,17,"pl-c1"],[17,19,"pl-s"]],[],[],[],[[0,3,"pl-k"],[4,15,"pl-en"],[16,20,"pl-s1"],[22,23,"pl-s1"]],[[4,14,"pl-s1"],[15,16,"pl-c1"],[17,24,"pl-c1"],[25,29,"pl-s1"]],[[4,9,"pl-en"],[10,14,"pl-s"],[11,13,"pl-cce"],[16,20,"pl-s1"],[20,21,"pl-c1"],[21,22,"pl-s1"]],[[4,15,"pl-s1"],[16,17,"pl-c1"],[18,28,"pl-s1"],[29,42,"pl-s"]],[[4,13,"pl-s1"],[14,15,"pl-c1"],[16,26,"pl-s1"],[27,38,"pl-s"]],[],[[4,68,"pl-c"]],[[4,6,"pl-k"],[7,18,"pl-s1"],[19,21,"pl-c1"],[22,26,"pl-c1"]],[[8,13,"pl-en"],[14,29,"pl-s"],[30,36,"pl-c1"],[37,41,"pl-s1"],[43,52,"pl-s1"],[53,61,"pl-c1"]],[[14,18,"pl-s1"],[18,19,"pl-c1"],[19,20,"pl-s1"]],[[8,13,"pl-en"],[14,24,"pl-s"],[26,30,"pl-s1"],[30,31,"pl-c1"],[31,32,"pl-s1"]],[[8,14,"pl-k"]],[],[[4,7,"pl-s1"],[8,9,"pl-c1"],[10,26,"pl-s1"],[27,35,"pl-c1"],[36,47,"pl-s1"]],[[4,6,"pl-k"],[7,18,"pl-s1"],[19,21,"pl-c1"],[22,28,"pl-c1"]],[[8,17,"pl-s1"],[18,19,"pl-c1"],[20,32,"pl-s"]],[[4,8,"pl-k"]],[[8,17,"pl-s1"],[18,19,"pl-c1"],[20,32,"pl-s"]],[[4,9,"pl-en"],[10,25,"pl-s"],[26,32,"pl-c1"],[33,37,"pl-s1"],[39,48,"pl-s1"],[51,55,"pl-s1"],[55,56,"pl-c1"],[56,57,"pl-s1"]],[[4,13,"pl-s1"],[14,15,"pl-c1"],[16,19,"pl-s1"],[20,30,"pl-c1"]],[[4,9,"pl-en"],[10,19,"pl-s"],[21,25,"pl-s1"],[25,26,"pl-c1"],[26,27,"pl-s1"]],[[4,7,"pl-k"],[8,16,"pl-s1"],[17,19,"pl-c1"],[20,29,"pl-s1"]],[[8,13,"pl-en"],[14,20,"pl-s"],[21,22,"pl-c1"],[23,31,"pl-s1"],[33,37,"pl-s1"],[37,38,"pl-c1"],[38,39,"pl-s1"]],[[4,9,"pl-en"],[10,21,"pl-s"],[11,13,"pl-cce"],[23,27,"pl-s1"],[27,28,"pl-c1"],[28,29,"pl-s1"]],[[4,9,"pl-en"],[10,28,"pl-s"],[29,35,"pl-c1"],[36,47,"pl-s1"],[50,54,"pl-s1"],[54,55,"pl-c1"],[55,56,"pl-s1"]],[[4,6,"pl-k"],[7,11,"pl-s1"],[12,14,"pl-c1"],[15,23,"pl-s"]],[[8,26,"pl-en"],[27,28,"pl-s1"]],[[4,8,"pl-k"],[9,13,"pl-s1"],[14,16,"pl-c1"],[17,23,"pl-s"]],[[8,24,"pl-en"],[25,26,"pl-s1"]],[[4,8,"pl-k"],[9,13,"pl-s1"],[14,16,"pl-c1"],[17,25,"pl-s"]],[[8,26,"pl-en"],[27,28,"pl-s1"]],[],[[0,12,"pl-s1"],[13,14,"pl-c1"],[15,43,"pl-en"]],[[0,4,"pl-k"],[5,9,"pl-en"],[10,45,"pl-s"],[47,50,"pl-s"],[52,54,"pl-k"],[55,70,"pl-s1"]],[],[[4,64,"pl-c"]],[[4,7,"pl-k"],[8,12,"pl-s1"],[13,15,"pl-c1"],[16,28,"pl-s1"]],[[8,13,"pl-en"],[14,18,"pl-s1"],[20,24,"pl-s1"],[24,25,"pl-c1"],[25,40,"pl-s1"],[42,45,"pl-s1"],[45,46,"pl-c1"],[46,48,"pl-s"]],[[4,9,"pl-en"],[10,14,"pl-c1"],[16,20,"pl-s1"],[20,21,"pl-c1"],[21,36,"pl-s1"]],[],[[4,71,"pl-c"]],[[4,15,"pl-s1"],[16,17,"pl-c1"],[18,22,"pl-en"],[23,30,"pl-c1"],[31,35,"pl-c1"]],[[4,15,"pl-s1"],[16,20,"pl-c1"]],[[4,7,"pl-k"],[8,18,"pl-s1"],[19,21,"pl-c1"],[22,33,"pl-s1"]],[[8,19,"pl-en"],[20,30,"pl-s1"],[32,47,"pl-s1"]],[],[[4,62,"pl-c"]],[[4,9,"pl-en"],[10,71,"pl-s"],[11,13,"pl-cce"]],[[10,32,"pl-s"],[34,38,"pl-s1"],[38,39,"pl-c1"],[39,54,"pl-s1"]]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/NGTS-AUS/plotly.py/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"update_graph_objs.py","displayUrl":"https://github.com/NGTS-AUS/plotly.py/blob/master/update_graph_objs.py?raw=true","headerInfo":{"blobSize":"10.4 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"0414dd0","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FNGTS-AUS%2Fplotly.py%2Fblob%2Fmaster%2Fupdate_graph_objs.py","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"298","truncatedSloc":"251"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Python","languageID":303,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/NGTS-AUS/plotly.py/blob/master/update_graph_objs.py","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/NGTS-AUS/plotly.py/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/NGTS-AUS/plotly.py/raw/refs/heads/master/update_graph_objs.py","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"FLAG","kind":"constant","ident_start":138,"ident_end":142,"extent_start":138,"extent_end":197,"fully_qualified_name":"FLAG","ident_utf16":{"start":{"line_number":5,"utf16_col":0},"end":{"line_number":5,"utf16_col":4}},"extent_utf16":{"start":{"line_number":5,"utf16_col":0},"end":{"line_number":5,"utf16_col":59}}},{"name":"get_non_generated_file_lines","kind":"function","ident_start":204,"ident_end":232,"extent_start":200,"extent_end":859,"fully_qualified_name":"get_non_generated_file_lines","ident_utf16":{"start":{"line_number":8,"utf16_col":4},"end":{"line_number":8,"utf16_col":32}},"extent_utf16":{"start":{"line_number":8,"utf16_col":0},"end":{"line_number":28,"utf16_col":24}}},{"name":"print_figure_patch","kind":"function","ident_start":866,"ident_end":884,"extent_start":862,"extent_end":4959,"fully_qualified_name":"print_figure_patch","ident_utf16":{"start":{"line_number":31,"utf16_col":4},"end":{"line_number":31,"utf16_col":22}},"extent_utf16":{"start":{"line_number":31,"utf16_col":0},"end":{"line_number":143,"utf16_col":5}}},{"name":"print_data_patch","kind":"function","ident_start":4966,"ident_end":4982,"extent_start":4962,"extent_end":7313,"fully_qualified_name":"print_data_patch","ident_utf16":{"start":{"line_number":146,"utf16_col":4},"end":{"line_number":146,"utf16_col":20}},"extent_utf16":{"start":{"line_number":146,"utf16_col":0},"end":{"line_number":207,"utf16_col":5}}},{"name":"print_frames_patch","kind":"function","ident_start":7320,"ident_end":7338,"extent_start":7316,"extent_end":8902,"fully_qualified_name":"print_frames_patch","ident_utf16":{"start":{"line_number":210,"utf16_col":4},"end":{"line_number":210,"utf16_col":22}},"extent_utf16":{"start":{"line_number":210,"utf16_col":0},"end":{"line_number":246,"utf16_col":5}}},{"name":"print_class","kind":"function","ident_start":8909,"ident_end":8920,"extent_start":8905,"extent_end":9905,"fully_qualified_name":"print_class","ident_utf16":{"start":{"line_number":249,"utf16_col":4},"end":{"line_number":249,"utf16_col":15}},"extent_utf16":{"start":{"line_number":249,"utf16_col":0},"end":{"line_number":279,"utf16_col":29}}},{"name":"copied_lines","kind":"constant","ident_start":9907,"ident_end":9919,"extent_start":9907,"extent_end":9952,"fully_qualified_name":"copied_lines","ident_utf16":{"start":{"line_number":281,"utf16_col":0},"end":{"line_number":281,"utf16_col":12}},"extent_utf16":{"start":{"line_number":281,"utf16_col":0},"end":{"line_number":281,"utf16_col":45}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/NGTS-AUS/plotly.py/branches":{"post":"mC8-TlNwldwMiptkWXqocrfsCjv-8XWdt_NrSRGeUD6NdNVpmhsRr4NhNzDfejPQhUi55sCa9TBqiCnNKWMknw"},"/repos/preferences":{"post":"EDXgBdPItRdJLAJvbddBBxuFY8IvHm0aPM7_98V1AeLAljfY7gbDpmYxxCz0YSeeSokt-gZVgPgI4iB1KdpEmg"}}},"title":"plotly.py/update_graph_objs.py at master · NGTS-AUS/plotly.py","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}