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

Respect sizemode='area' when marker.size is a constant #2735

Closed
cpsievert opened this issue Jun 13, 2018 · 2 comments
Closed

Respect sizemode='area' when marker.size is a constant #2735

cpsievert opened this issue Jun 13, 2018 · 2 comments

Comments

@cpsievert
Copy link

cpsievert commented Jun 13, 2018

When marker.size is a constant, marker.sizemode is currently silently ignored (i.e., it's always set to diameter, regardless of whether the user specified marker.sizemode='area'):

https://codepen.io/cpsievert/pen/zazXgw

At the very least I think this should generate a warning/message. IMO the behavior should change at some point so that marker.sizemode='area' is respected, regardless of whether marker.size is a number or an array -- perhaps an item to add to #420?

@etpinard
Copy link
Contributor

etpinard commented Jun 13, 2018

At the very least I think this should generate a warning/message.

Plotly.validate can do that for you: https://codepen.io/etpinard/pen/zazQNP?editors=0010

@gvwilson
Copy link
Contributor

Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants