Skip to content

Commit

Permalink
include source by default in plot directives
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Dec 9, 2024
1 parent 0679571 commit 3c3fd14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def get_version_from_file(path_to_version_file: str) -> str:

# mpl plots
plot_basedir = 'pyplots'
plot_html_show_source_link = False
plot_html_show_source_link = True
plot_include_source = True
plot_formats = ['png', ('hires.png', 300)]
plot_pre_code = '''
import numpy as np
Expand Down

0 comments on commit 3c3fd14

Please sign in to comment.