Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3fb0f99

Browse files
committed
Add a version to the plot_directive so other tools (such as Numpy) can check against it.
1 parent 19b0be3 commit 3fb0f99

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/matplotlib/sphinxext/plot_directive.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ def format_template(template, **kw):
139139
import matplotlib.pyplot as plt
140140
from matplotlib import _pylab_helpers
141141

142+
__version__ = 2
143+
142144
#------------------------------------------------------------------------------
143145
# Relative pathnames
144146
#------------------------------------------------------------------------------

0 commit comments

Comments
 (0)