Skip to content

improved .plot methods #925

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion doc/source/changes/version_0_33.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,18 @@ New features
Miscellaneous improvements
^^^^^^^^^^^^^^^^^^^^^^^^^^

* improved something.
* greatly improved :py:obj:`Array.plot()` method and "submethods" (:py:obj:`Array.plot.bar()`, etc.)

- support `x`, `y` and `by` arguments in plot functions where it make sense
When only some of them are specified, the other arguments pick from remaining
available axes. This means a lot of plots can now be expressed more intuitively and concisely
(you do not need to transpose your array to get the result you want, you just
specify the axes you want to use in 'x' or 'y'.
- `subplots` argument now accepts an axis (or tuple of them) in addition to a
boolean to specify *which* axes to use as subplots.
- support for *labels* (instead of axes) in x and y for line plot and scatter.
- support passing a dict as legend to customize the legend.
- many tweaks to make several plots look better out of the box.


Fixes
Expand Down
Loading