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.

Color scheme not displayed in plot_energy.

See original GitHub issue

The color scheme is not displayed in the legend for a default energy plot. arviz-plot_energy-1

This behavior is not observed when we set kind='hist'. arviz-plot_energy-2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
OriolAbrilcommented, Apr 17, 2019

Great! Feel free to ask anything via gitter. I will also send you some reference that may be useful. I have one starting comment though, which is interesting for everyone too. The docs say use fill_kwargs={‘alpha’: 0} to disable fill. And the same approach is used in plot_energy to disable the line plot. However, I think it may be a better idea to use linewidth=0 to disable line plots, which will also make it easier when generating the custom legend handles.

1reaction
Ban-zeecommented, Apr 17, 2019

In this case, I’ll start working on the issue and you can help me in the process.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pandas color scheme not working properly with my data (python)
I would like to change the default color scheme of my pandas plot. I tried with different color schemes through cmap pandas parameter,...
Read more >
Set, get, or view bayesplot color schemes - Stan
Set, get, or view color schemes. Choose from a preset scheme or create a custom scheme. See the Available color schemes section below...
Read more >
Remove the Color Scheme Display | Revit 2021
In the Project Browser, right-click the view for which you want to remove the color scheme display, and select Properties.
Read more >
Target color scheme does not work on Time Series column ...
When trying to set a target colour scheme for an indicator, the target colour does not get applied based on the value of...
Read more >
10 Plotting and Color in R | Exploratory Data Analysis with R
The default color schemes for most plots in R are horrendous. ... Typically we add color to a plot, not to improve its...
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