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.

Add functionality to modify plots (and their look)

See original GitHub issue

Missing functionality I have searched pandas profiling documentation, the advanced usage webpage and also the plotting but I could not find how to customise plots that it generates. Eg. now it shows correlation matrices with a colorbar having blue as 1 and red as -1. It would be great if one could play with the plots (eg pass some arguments to the underlying matplotlib) to change the colours, the palette, the labels/legend, …

Proposed feature Be able to add eg cmap argument or color argument to the plotting function to change the look of the graphs. The same way as one can skip some correlations using the advanced options for usage.

Thanks, your work is really great!

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
sbrugmancommented, Mar 25, 2021

It’s already possible to change the cmap, however it’s not directly documented (you can find the related parameters in the config file). Feel free to extend the docs with the relevant settings in a PR.

0reactions
sbrugmancommented, Apr 7, 2021

This PR introduces improved config: https://github.com/pandas-profiling/pandas-profiling/pull/751. We can introduce additional plotting parameters easily. Feel free to contribute.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Customize plots
Customize plots · Plot type · Visual guide · Labels · Modify aesthetics · Grouping variable · Panels · Additional layers · Scales...
Read more >
Customize Your Plots Using Matplotlib - Earth Data Science
Matplotlib is the most commonly used plotting library in Python. Learn how to customize the colors, symbols, and labels on your plots using ......
Read more >
How to Modify and Customize Plots in R | R Tutorial 2.9
Add and Customize Text in Plots with R | R Tutorial 2.10 | MarinStatsLectures · ggplot for plots and graphs. · Data visualisation...
Read more >
EES: Modifying a Plot - YouTube
This tutorial describes how you can modify the appearance of your plot in order to make it appear more professional.
Read more >
R Tutorial - Customizing Your Plots In R - YouTube
Understand how to customize your plots in R and make them more fancier. ... I'll do this by adding arguments to the plot...
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