Commit c26e318
committed
Add file to auto-generate graph objects.
Previously, we generated these *on import*, which is slow and it’s a
little sneaky. Users end up using classes that are not actually written
*anywhere* in our package.
Now that we only update the plot schema in version releases (no longer
on import), we can also just programmatically add in all the graph obj
classes. Instead of adding them to memory, we literally just print them
to the file.
This is some serious meta-programming… but, the resulting file will have
to be syntactically valid and pass our test suite, so I’m not *too*
worried about it.1 parent ef58782 commit c26e318
File tree
4 files changed
+1124
-97
lines changed- plotly/graph_objs
4 files changed
+1124
-97
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
0 commit comments