Pandas: Hexbin plots does not display x label and xtick labels

Created on 26 Jul 2015  ·  3Comments  ·  Source: pandas-dev/pandas

I'm currently using python 2.7, pandas 0.16.2.dev, and ipython version 3.1.0

In brief, it seems that there are cases that the sharex option of pandas.DataFrame.plot(kind='hexbin') defaults to True instead of False. This causes the x label and xtick labels to be invisible.

pandas-sharex-bug

Preceding stack overflow and ipython github threads that led to here:

http://stackoverflow.com/questions/31220329/pandas-dataframe-hexbin-plot-has-no-xlabel-or-axis-values

https://github.com/ipython/ipython/issues/8653

Visualization

Most helpful comment

What is the recommended workaround for this issue?

Put a sharex=False in your plot command.

All 3 comments

I suspect that it's the same underlying issue as https://github.com/pydata/pandas/issues/10611, which is for scatter.

What is the recommended workaround for this issue?

What is the recommended workaround for this issue?

Put a sharex=False in your plot command.

Was this page helpful?
0 / 5 - 0 ratings