Skip to content
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

unexpected axis ticks in tools.plotting.scatter_matrix #5662

Closed
whoburg opened this issue Dec 7, 2013 · 0 comments · Fixed by #9441
Closed

unexpected axis ticks in tools.plotting.scatter_matrix #5662

whoburg opened this issue Dec 7, 2013 · 0 comments · Fixed by #9441
Labels

Comments

@whoburg
Copy link

whoburg commented Dec 7, 2013

The upper left y axis tick marks in a scatter_matrix appear to have units/values pulled from the (0, 0) histogram counts, instead of the data values that are used for all other axis tick values.

Example:

In [1]: import numpy as np

In [2]: import pandas as pd

In [3]: pd.__version__
Out[3]: '0.12.0'

In [4]: df = pd.DataFrame(np.random.randn(100,3), columns=['a', 'b', 'c'])

In [5]: pd.tools.plotting.scatter_matrix(df)
Out[5]: 
array([[<matplotlib.axes.AxesSubplot object at 0x1071d5d90>,
        <matplotlib.axes.AxesSubplot object at 0x1089aa0d0>,
        <matplotlib.axes.AxesSubplot object at 0x1071e36d0>],
       [<matplotlib.axes.AxesSubplot object at 0x10a7d4f90>,
        <matplotlib.axes.AxesSubplot object at 0x10a7fd450>,
        <matplotlib.axes.AxesSubplot object at 0x10a8197d0>],
       [<matplotlib.axes.AxesSubplot object at 0x10a83bf90>,
        <matplotlib.axes.AxesSubplot object at 0x10a84fe50>,
        <matplotlib.axes.AxesSubplot object at 0x10a886310>]], dtype=object)

figure_1

@jreback jreback modified the milestones: 0.15.0, 0.14.0 Mar 28, 2014
@jreback jreback modified the milestones: 0.16.0, Next Major Release Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants