Skip to content

Conversation

nicolaskruchten
Copy link
Contributor

This is needed so we can pass in column names as e.g. bool or Timestamp, which anyway fail in the else branch. The Pandas visualization docs have this example, which doesn't run without this fix and does with it:

import pandas as pd
import numpy as np
pd.options.plotting.backend="plotly"
ts = pd.Series(np.random.randn(1000), index=pd.date_range('1/1/2000', periods=1000))
df = pd.DataFrame(np.random.randn(1000, 4), index=ts.index, columns=list('ABCD'))
df.iloc[5].plot.bar()

@emmanuelle
Copy link
Contributor

💃 when all green! Thanks!

@nicolaskruchten nicolaskruchten merged commit b8da283 into master May 26, 2020
@nicolaskruchten nicolaskruchten deleted the bar_fix branch June 19, 2020 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants