File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -96,9 +96,8 @@ def plot_directive_file(num):
96
96
assert filecmp .cmp (range_6 , plot_file (17 ))
97
97
# plot 22 is from the range6.py file again, but a different function
98
98
assert filecmp .cmp (range_10 , img_dir / 'range6_range10.png' )
99
- # plots 23 through 25 use a custom base name
99
+ # plots 23 and 24 use a custom base name
100
100
assert filecmp .cmp (range_6 , img_dir / 'custom-base-name-6.png' )
101
- assert filecmp .cmp (range_10 , img_dir / 'custom-base-name-10.png' )
102
101
assert filecmp .cmp (range_4 , img_dir / 'custom-base-name-4.png' )
103
102
104
103
# Modify the included plot
Original file line number Diff line number Diff line change @@ -175,17 +175,12 @@ Plot 22 uses a different specific function in a file with plot commands:
175
175
176
176
.. plot :: range6.py range10
177
177
178
- Plots 23 through 25 use output-base-name.
178
+ Plots 23 and 24 use output-base-name.
179
179
180
180
.. plot ::
181
181
:output-base-name: custom-base-name-6
182
182
183
183
plt.plot(range(6))
184
184
185
- .. plot ::
186
- :output-base-name: custom-base-name-10
187
-
188
- plt.plot(range(10))
189
-
190
185
.. plot :: range4.py
191
186
:output-base-name: custom-base-name-4
You can’t perform that action at this time.
0 commit comments