BSd3v / dash-chart-editor

A dash wrapper of Plotly's react-chart-editor
HomePage
MIT License
49 stars 7 forks source link

parseChartKeys_fig fails for Scatter3d plot #14

Closed JamesIsCooke closed 1 year ago

JamesIsCooke commented 1 year ago

parseChartKeys_fig compares chart['type'].title() with all members of go to get the trace type. However, for a 3d scatter: chart['type'].title() is Scatter3D (capital D) and getmembers(go, isclass)[51][0] is Scatter3d (lower case d), so it cannot find the plot type. Suggest if i.lower() == chart['type'].lower(): realChart = y

BSd3v commented 1 year ago

Thanks for catching this, I typically dont use 3d charts. 😄

BSd3v commented 1 year ago

This is fixed in https://github.com/BSd3v/dash-chart-editor/commit/ace788d9e6bd51dcacf10ac5a37a03a0b6d2b3ed