We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd655c2 commit 21c1098Copy full SHA for 21c1098
1 file changed
doc/python/dropdowns.md
@@ -494,9 +494,9 @@ for n, figname in enumerate(fig_dict.keys()):
494
data_for_jinja["divs"]+=f'<div id="{figname}" class="content-div" {initially_hide_divs_other_than_the_first}>{fig_html}{text_dict[figname]}</div>'
495
496
# Insert data into the template and write the file to disk
497
-# YOU WILL LIKELY NEED TO CUSTOMIZE THESE PATHS
498
-input_template_path=r"C:\data\demo_template.jinja"
499
-output_html_path=r"C:\data\demo_result.html"
+# You'll need to add the path to your template and where to output the generated file
+input_template_path=r"<path-to-Jinja-template.html>"
+output_html_path=r"<path-to-output-file.html>"
500
501
with open(output_html_path, "w", encoding='utf-8') as output_file:
502
with open(input_template_path) as template_file:
0 commit comments