Skip to content

Commit 316471b

Browse files
committed
better pipdated integration
1 parent 7317982 commit 316471b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

matplotlib2tikz/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,5 @@
1717
from matplotlib2tikz.save import get_tikz_code, save
1818

1919
import pipdated
20-
if pipdated.needs_checking('matplotlib2tikz'):
21-
msg = pipdated.check('matplotlib2tikz', __version__)
22-
if msg:
23-
print(msg)
20+
if pipdated.needs_checking(__name__):
21+
print(pipdated.check(__name__, __version__))

0 commit comments

Comments
 (0)