Skip to content

Commit a09e281

Browse files
authored
Merge pull request #258 from lukelbd/flexible-1dplots
Final improvements to 1D plotting wrappers
2 parents 75c65e1 + e18a46a commit a09e281

27 files changed

+1354
-1160
lines changed

WHATSNEW.rst

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ ProPlot v0.7.0 (2021-07-##)
112112
* When using ``medians=True`` or ``means=True`` with `indicate_error` plot simple
113113
error bars by default instead of bars and "boxes" (:commit:`4e30f415`). Only plot
114114
"boxes" with central "markers" by default for violin plots (:commit:`13b45ccd`).
115-
* `legend_wrapper` no longer returns the background patch generated for centered-row
116-
legends (:pr:`254`). This is consistent with `colorbar_wrapper` not returning
115+
* `legend_extras` no longer returns the background patch generated for centered-row
116+
legends (:pr:`254`). This is consistent with `colorbar_extras` not returning
117117
background patches generated for inset colorbars. Until proplot adds new subclasses,
118118
it makes more sense if these functions only return `~matplotlib.legend.Legend` and
119119
`~matplotlib.colorbar.Colorbar` instances.
@@ -129,8 +129,16 @@ ProPlot v0.7.0 (2021-07-##)
129129
* Add `wequal`, `hequal`, and `equal` options to still use automatic spacing but force
130130
the tight layout algorithm to make spacings equal (:pr:`215`, :issue:`64`)
131131
by `Zachary Moon`_.
132-
* Add baseline support for "3D" `~matplotlib.mpl_toolkits.mplot3d.Axes3D` axes
132+
* Add minimal support for "3D" `~matplotlib.mpl_toolkits.mplot3d.Axes3D` axes
133133
(:issue:`249`). Example usage: ``fig.subplots(proj='3d')``.
134+
* Add `~proplot.axes.Axes.plotx` and `~proplot.axes.Axes.scatterx` commands that
135+
interpret plotting args as ``(y, x)`` rather than ``(x, y)``, analogous to
136+
`~proplot.axes.Axes.areax` (:commit:`###`).
137+
* Add support for `~proplot.axes.indicate_error` *horizontal* error bars and
138+
shading for line and scatter plots (:commit:`###`).
139+
* Add support for ``ax.plot_command('x_key', 'y_key', data=dataset)`` for
140+
virtually all plotting commands using `standardize_1d` and `standardize_2d`
141+
(:commit:`###`). This was an existing `~matplotlib.axes.Axes.plot` feature.
134142
* Allow updating axes fonts that use scalings like ``'small'`` and ``'large'``
135143
by passing ``fontsize=N`` to `format` (:issue:`212`).
136144
* Interpret fontsize-relative legend rc params like ``legend.borderpad``
@@ -184,6 +192,9 @@ ProPlot v0.7.0 (2021-07-##)
184192
``'a'`` or ``'A'`` in string, and only replace that one (:issue:`201`).
185193
* Allow passing e.g. ``barstds=3`` or ``barpctiles=90`` to request error bars
186194
denoting +/-3 standard deviations and 5-95 percentile range (:commit:`4e30f415`).
195+
* Add singular `indicate_error` keywords `barstd`, `barpctile`, etc. as
196+
alternatives to `barstds`, `barpctiles`, etc. (:commit:`81151a58`).
197+
Also prefer them in the documentation.
187198
* Allow passing ``means=True`` to `boxplot` to toggle mean line
188199
(:commit:`4e30f415`).
189200
* Allow setting the mean and median boxplot linestyle with

0 commit comments

Comments
 (0)