Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c9f0952

Browse files
committed
Partial commit, continue converting wrappers
1 parent b2376f0 commit c9f0952

20 files changed

+6115
-5852
lines changed

‎WHATSNEW.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,34 @@ ProPlot v0.8.0 (2021-##-##)
8989

9090
.. rubric:: Features
9191

92+
* Add ``pad`` keyword to ``legend``, ``colorbar``, and ``panel`` that controls
93+
tight layout padding, analogous to ``space`` (:pr:`###`).
94+
* Fix ``wequal`` and ``hequal`` so they only work between main subplot
95+
rows and columns instead of panels.
96+
* Allow variable tight layout padding between subplot panels using ``wpad`` and
97+
``hpad``, analogous to ``wspace`` and ``hspace`` (:pr:`###`).
98+
* Support XDG directories for proplot configuration files, emit
99+
warnings if multiple paths found (:issue:`###`).
100+
* Add public `~proplot.config.RcConfigurator.user_file` and
101+
`~proplot.config.RcConfigurator.user_folder` methods for displaying
102+
folder locations (:commit:`b11d744a`).
103+
* Add :rcraw:`colorbar.facecolor` and :rcraw:`colorbar.edgecolor` properties
104+
analogous to legend properties for controlling frame (:pr:`264`).
105+
* Allow list-of-list "centered row" ``legend`` specification with e.g.
106+
``[h, [h1, h2, h3]]`` (i.e., mixed list and non-list input) (:pr:`264`).
107+
* Permit partial specification of labels with "centered rows", e.g.
108+
``labels=['label', None]`` can be combined with the above (:pr:`264`).
109+
* Treat singleton lists and tuple ``legend`` input same as scalar
110+
handle input, i.e. never triggers "centered row" specification (:pr:`264`).
111+
* Silently ignore non-artist and non-container input -- e.g., ignore the bins
112+
and values returned by ``hist`` (:pr:`264`).
113+
* Support auto-detection of tuple-grouped legend handle labels when labels
114+
not passed explicitly (:pr:`264`).
115+
* Automatically pull out grouped tuples of artists if they have differing ``label``\ s
116+
(:pr:`264`). This is convenient for passing error indications to ``legend``.
117+
* Support more artist synonyms throughout plotting overrides, e.g. ``ec``
118+
for ``edgecolor``, ``lw`` for ``linewidth``, ``fc`` and ``fillcolor`` for
119+
``facecolor`` (:pr:`264`). This expands matplotlib synonyms.
92120
* Support list-of-strings parametric coordinate and format on-the-fly colorbar ticks
93121
with those string labels (:commit:`02fbda45`).
94122
* Add new :rcraw:`leftlabel.rotation`, :rcraw:`toplabel.rotation`,

‎proplot/axes/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
"""
55
import matplotlib.projections as mproj
66

7-
from . import plot
87
from .base import Axes # noqa: F401
98
from .cartesian import CartesianAxes
109
from .geo import GeoAxes # noqa: F401
1110
from .geo import BasemapAxes, CartopyAxes
12-
from .plot import * # noqa: F401, F403
11+
from .plot import PlotAxes # noqa: F401
1312
from .polar import PolarAxes
1413
from .three import Axes3D # noqa: F401
1514

@@ -22,11 +21,11 @@
2221
# Prevent importing module names and set order of appearance for objects
2322
__all__ = [
2423
'Axes',
24+
'PlotAxes',
2525
'CartesianAxes',
2626
'PolarAxes',
2727
'GeoAxes',
2828
'CartopyAxes',
2929
'BasemapAxes',
3030
'Axes3D',
3131
]
32-
__all__.extend(plot.__all__) # document wrappers as part of proplot/axes submodule

0 commit comments

Comments
 (0)