Skip to content

Commit 9412e84

Browse files
committed
DOC - added the differences between the axes module namespace before and after
1 parent 94cb09b commit 9412e84

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

doc/api/api_changes.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,30 @@ splitted into smaller modules:
2323
from _AxesBase, and contains all plotting and labelling methods.
2424
- the `_subplot` module, with all the classes concerning subplotting.
2525

26+
There are a couple of things that do not exists in the `axes` module's
27+
namespace anymore. If you use them, you need to import them from their
28+
original location:
29+
30+
- math -> `import math`
31+
- ma -> `from numpy import ma`
32+
- cbook -> `from matplotlib import cbook`
33+
- division -> `from __future__ import division`
34+
- docstring -> `from matplotlib impotr docstring`
35+
- is_sequence_of_strings -> `from matplotlib.cbook import is_sequence_of_strings`
36+
- is_string_like -> `from matplotlib.cbook import is_string_like`
37+
- iterable -> `from matplotlib.cbook import iterable`
38+
- itertools -> `import itertools`
39+
- martist -> `from matplotlib import artist as martist`
40+
- matplotlib -> `import matplotlib`
41+
- mcoll -> `from matplotlib import collections as mcoll`
42+
- mcolors -> `from matplotlib import colors as mcolors`
43+
- mcontour -> `from matplotlib import contour as mcontour`
44+
- mpatches -> `from matplotlib import patchs as mpatches`
45+
- mpath -> `from matplotlib import path as mpath`
46+
- mquiver -> `from matplotlib import quiver as mquiver`
47+
- mstack -> `from matplotlib import stack as mstack`
48+
- mstream -> `from matplotlib import stream as mstream`
49+
- mtable -> `from matplotlib import table as mtable`
2650

2751
.. _changes_in_1_3:
2852

0 commit comments

Comments
 (0)