Skip to content

scattermapbox.line.width is not supported but it is in _fullData #2727

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

Closed
chriddyp opened this issue Jun 12, 2018 · 1 comment
Closed

scattermapbox.line.width is not supported but it is in _fullData #2727

chriddyp opened this issue Jun 12, 2018 · 1 comment

Comments

@chriddyp
Copy link
Member

image

In our plotly.py 3.0.0r4 (plotly/plotly.py#942), we can view the default properties in jupyter notebooks. Today, we noticed that scattermapbox.line.width appears even though it isn't a supported property.

Codepen: https://codepen.io/chriddyp/pen/mKmaQv?editors=0011

(Previously, if properties appeared in _fullData that weren't in the schema the plotly.py validation would raise an exception. This was fixed in plotly/plotly.py@3d0460e so plotly.py is no longer blocked by this artifact).

@alexcjohnson
Copy link
Collaborator

Seems to be a hack to make legends happy. Should be easy to unwind on the legend side.

// we need mock marker.line object to make legends happy
marker.line = {width: 0};

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

No branches or pull requests

2 participants