We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15e70c7 commit edf3941Copy full SHA for edf3941
1 file changed
docs/conf.py
@@ -43,15 +43,9 @@
43
# -- Create files --------------------------------------------------------------
44
45
# Create RST table and sample proplotrc file
46
-from proplot.internals import settings
47
-path = os.path.join('_static', 'rctable.rst')
48
-table = settings._generate_rst_table()
49
-with open(path, 'w') as f:
50
- f.write(table)
51
-path = os.path.join('_static', 'proplotrc')
52
-table = settings._generate_yaml_table()
53
54
+from proplot.config import rc
+rc._save_rst(os.path.join('_static', 'rctable.rst'))
+rc._save_yaml(os.path.join('_static', 'proplotrc'))
55
56
# -- Setup basemap --------------------------------------------------------------
57
0 commit comments