File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 42
42
ParserElement .enablePackrat ()
43
43
44
44
from matplotlib .afm import AFM
45
- from matplotlib .cbook import Bunch , get_realpath_and_stat , maxdict
45
+ from matplotlib .cbook import Bunch , get_realpath_and_stat
46
46
from matplotlib .ft2font import (FT2Image , KERNING_DEFAULT , LOAD_FORCE_AUTOHINT ,
47
47
LOAD_NO_HINTING )
48
48
from matplotlib .font_manager import findfont , FontProperties , get_font
Original file line number Diff line number Diff line change 1
- """
2
- A module for dealing with the polylines used throughout matplotlib .
1
+ r """
2
+ A module for dealing with the polylines used throughout Matplotlib .
3
3
4
- The primary class for polyline handling in matplotlib is :class:`Path`.
5
- Almost all vector drawing makes use of Paths somewhere in the drawing
6
- pipeline.
4
+ The primary class for polyline handling in Matplotlib is `Path`. Almost all
5
+ vector drawing makes use of `Path`\s somewhere in the drawing pipeline.
7
6
8
- Whilst a :class:`Path` instance itself cannot be drawn, there exists
9
- :class:`~matplotlib.artist.Artist` subclasses which can be used for
10
- convenient Path visualisation - the two most frequently used of these are
11
- :class:`~matplotlib.patches.PathPatch` and
12
- :class:`~matplotlib.collections.PathCollection`.
7
+ Whilst a `Path` instance itself cannot be drawn, some `~.Artist` subclasses,
8
+ such as `~.PathPatch` and `~.PathCollection`, can be used for convenient `Path`
9
+ visualisation.
13
10
"""
14
11
15
12
from __future__ import (absolute_import , division , print_function ,
16
13
unicode_literals )
17
14
18
15
import six
19
16
20
- import math
21
17
from weakref import WeakValueDictionary
22
18
23
19
try :
28
24
import numpy as np
29
25
30
26
from . import _path , rcParams
31
- from .cbook import (_to_unmasked_float_array , simple_linear_interpolation ,
32
- maxdict )
27
+ from .cbook import _to_unmasked_float_array , simple_linear_interpolation
33
28
34
29
35
30
class Path (object ):
You can’t perform that action at this time.
0 commit comments