question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Colorscale attribute descriptions in cone traces are off

See original GitHub issue

In trying out the new cone trace in plotly/plotly.py#942 I noticed that the color property for this trace type isn’t included in the dist/plotly-schema.json file (at least for 1.38.2). If I understand correctly there should be a cone.color property alongside cone.colorscale, cone.cmin, etc.

Here’s a screenshot of my editor with all of the property bodies collapsed.

screen shot 2018-06-11 at 3 13 12 pm

For context, I found this because the Cone Python class generated from the schema was missing a color property 🙂

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
jzthreecommented, Jul 27, 2018

Is it a future possibility to allow user setting color property in Cone? That will be very useful like it does in other plot types.

1reaction
CarlAnderssoncommented, Mar 7, 2019

I agree with @jzthree that direct control of the color can be really useful in some cases.

Read more comments on GitHub >

github_iconTop Results From Across the Web

plotly.graph_objects.Cone — 5.11.0 documentation
Attributes such as trace name , graph, axis and colorbar title.text , annotation text rangeselector , updatemenues and sliders label text all support...
Read more >
ValueError: Invalid element(s) received for the 'data' property
The reason why you are getting an error it is because the function append_trace() is expecting a single trace in the form you've...
Read more >
plotly.js-basic-dist-min | Yarn - Package Manager
Ready-to-use minified plotly.js basic distributed bundle. Contains trace modules bar , pie and scatter . For more info on plotly.js, go to ...
Read more >
Chart::Plotly::Trace::Cone::Colorbar - MetaCPAN
DESCRIPTION. This attribute is part of the possible options for the trace cone. This file has been autogenerated from the official plotly.js source....
Read more >
Spatial Structure of Cone Inputs to Color Cells in Alert ... - NCBI
Type I cells have very small receptive field centers, often fed by a single cone.B, A blue-on/yellow-off Type II cell. Type II cells,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found