8000 Update lib/matplotlib/sphinxext/plot_directive.py · QuLogic/matplotlib@bda148e · GitHub
[go: up one dir, main page]

Skip to content

Commit bda148e

Browse files
ulijhQuLogic
andauthored
Update lib/matplotlib/sphinxext/plot_directive.py
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent 9c1d1d0 commit bda148e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/sphinxext/plot_directive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,8 @@ def run(arguments, content, options, state_machine, state, lineno):
646646
if "caption" in options:
647647
if caption:
648648
raise ValueError(
649-
'Caption specified twice: In content and options.'
650-
+ ' Please remove ambiguity.'
649+
'Caption specified in both content and options.'
650+
' Please remove ambiguity.'
651651
)
652652
else:
653653
# Use caption option

0 commit comments

Comments
 (0)
0