8000 Fix deprecation message for axes_grid1.colorbar. · matplotlib/matplotlib@bfda602 · GitHub
[go: up one dir, main page]

Skip to content

Commit bfda602

Browse files
committed
Fix deprecation message for axes_grid1.colorbar.
Previously "The axes_grid1.colorbar was deprecated..."; now "The mpl_toolkits.axes_grid1.colorbar module was deprecated..."
1 parent 9c2ad59 commit bfda602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/axes_grid1/colorbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434

3535
cbook.warn_deprecated(
36-
"3.2", name="axes_grid1.colorbar", alternative="matplotlib.colorbar")
36+
"3.2", name=__name__, obj_type="module", alternative="matplotlib.colorbar")
3737

3838

3939
make_axes_kw_doc = '''

0 commit comments

Comments
 (0)
0