File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242ParserElement .enablePackrat ()
4343
4444from 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
4646from matplotlib .ft2font import (FT2Image , KERNING_DEFAULT , LOAD_FORCE_AUTOHINT ,
4747 LOAD_NO_HINTING )
4848from 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 .
33
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.
76
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.
1310"""
1411
1512from __future__ import (absolute_import , division , print_function ,
1613 unicode_literals )
1714
1815import six
1916
20- import math
2117from weakref import WeakValueDictionary
2218
2319try :
2824import numpy as np
2925
3026from . 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
3328
3429
3530class Path (object ):
You can’t perform that action at this time.
0 commit comments