-
-
Notifications
You must be signed in to change notification settings - Fork 541
Open
Description
Hi,
I was following the tutorial for face and trellis, and I noticed color_is_cat = True, I was wondering whether it was just me or whether this has been depreicated and not updated in the documentation.
import plotly.plotly as py
import plotly.figure_factory as ff
import pandas as pd
mtcars = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/mtcars.csv')
fig = ff.create_facet_grid(
mtcars,
x='mpg',
y='wt',
facet_col='cyl',
color_name='cyl',
color_is_cat=True, ## This line
)
py.iplot(fig, filename='facet - color by categorical variable')```
[here](https://github.com/plotly/documentation/blob/source-design-merge/_posts/python/statistical/facet-trellis/facet-and-trellis-plots.ipynb)
Thanks
Metadata
Metadata
Assignees
Labels
No labels