-
-
Notifications
You must be signed in to change notification settings - Fork 1
Plotly Express does not play well with templates #70
Comments
Plotly Express indeed opts out of the template color scale, because it sets colors explicitly. You can now (as of v0.1.8 which came out minutes ago!) set the By default, Plotly Express sets |
Wow, thanks for the quick response 🥇 |
Let's leave it open, that way I don't forget about this. I might be able to do something quickly :) |
@jonmmease I'd love your input here... I recently shuffled things up such that the defaults are no longer passed in from outside the core, but are set internally if the arguments are Right now the default defaults are hardcoded at the top of Thoughts? |
@wbrgss this would mean you could use templates for DDK :) |
That makes sense to me @nicolaskruchten. We should also double-check
It would be nice if there was a logical correspondence between the I wonder which parameters (here, right?) wouldn't play well with
Which places besides |
The
Actually "[the template]" is not what I meant, I meant the colors :) In a template, we have color scales and sequences in a few places in All that said, |
@Batalex if you want to take a look at or play with #74 I'd be curious to know what you think. I played with the |
@Batalex this is now released! You should be able to set |
@nicolaskruchten I apologize for the poor responsiveness. Many thanks, it works like a charm 👍 |
Super! |
Hi,
I noticed that Plotly Express is quite opinionated with some default values, which unfortunately do not play well with template's defined values such as graph height or color scale.
For example, I would expect
px.histogram(some_dataframe, template="seaborn")
to use the seaborn color palette.Is there any plans to pick up default values in the active template instead?
The text was updated successfully, but these errors were encountered: