8000 DOC : add note about np.matrix and pandas objects by tacaswell · Pull Request #3394 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

DOC : add note about np.matrix and pandas objects #3394

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 22, 2014
Merged
Changes from 1 commit
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
Next Next commit
DOC : add note about np.matrix and pandas objects
There is no intentional support for np.matrix or
pandas data objects as input to plotting functions.
  • Loading branch information
tacaswell committed Aug 22, 2014
commit f4782dad1902e9d6398607e85c714607fe9aaa47
9 changes: 9 additions & 0 deletions doc/faq/usage_faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,15 @@ idea). When the figure is rendered, all of the artists are drawn to
the **canvas**. Most Artists are tied to an Axes; such an Artist
cannot be shared by multiple Axes, or moved from one to another.

.. _input_types:

Types of inputs to plotting functions
=====================================

All of plotting functions expect `np.array` or `np.ma.masked_array` as
input. Classes that are 'array-like' such as `pandas` data objects
and `np.matrix` may or may not work as intended. It is best to
convert these to `np.array` objects prior to plotting.

.. _pylab:

Expand Down
0