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

add_area() is no longer working with plotly.js 2.0 #2040

Closed
cpsievert opened this issue Oct 8, 2021 · 0 comments · Fixed by #2041
Closed

add_area() is no longer working with plotly.js 2.0 #2040

cpsievert opened this issue Oct 8, 2021 · 0 comments · Fixed by #2041

Comments

@cpsievert
Copy link
Collaborator

cpsievert commented Oct 8, 2021

Because of the area trace was dropped for barpolar https://community.plotly.com/t/announcing-plotly-js-2-0/53675

data(wind)
plot_ly(wind, r = ~r, t = ~t) %>% 
  add_area(color = ~nms) %>%
  layout(radialaxis = list(ticksuffix = "%"), orientation = 270)
Error: Trace type must be one of the following: 
'bar', 'barpolar', 'box', 'candlestick', 'carpet', 'choropleth', 'choroplethmapbox', 'cone', 'contour', 'contourcarpet', 'densitymapbox', 'funnel', 'funnelarea', 'heatmap', 'heatmapgl', 'histogram', 'histogram2d', 'histogram2dcontour', 'icicle', 'image', 'indicator', 'isosurface', 'mesh3d', 'ohlc', 'parcats', 'parcoords', 'pie', 'pointcloud', 'sankey', 'scatter', 'scatter3d', 'scattercarpet', 'scattergeo', 'scattergl', 'scattermapbox', 'scatterpolar', 'scatterpolargl', 'scatterternary', 'splom', 'streamtube', 'sunburst', 'surface', 'table', 'treemap', 'violin', 'volume', 'waterfall'
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 a pull request may close this issue.

1 participant