How to silence 'seaborn.axisgrid.PairGrid at 0x...' when calling pairplot() in Jupyter Notebooks?
See original GitHub issueA pairplot()
call like
In [4]:
sns.pairplot(df, kind = 'scatter',diag_kind='kde')
will print out (before the plot) a message like
Out[4]:
seaborn.axisgrid.PairGrid at 0x...
I have many local examples of this. See also for example the same in some notebook on the web.
How can this message be silenced?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
seaborn.PairGrid — seaborn 0.12.1 documentation - PyData |
Subplot grid for plotting conditional relationships. Examples. Calling the constructor sets up a blank grid of subplots with each row and one column ......
Read more >Remove axis titles from Seaborn PairGrid - Stack Overflow
Just loop through the subplots and clear the titles for each of them. import matplotlib.pyplot as plt import seaborn as sns iris ...
Read more >pairplot seems to miss interpret strings such as '0' and '1' as ...
After casting a panda column from integers to string, pairplot keeps interpreting this column as containing numerical values it seems.
Read more >Hacking Seaborn Grid Plots - Catherine's Auxiliary Brain
Most of the template graphs (such as pairplot), add a legend to the top level figure on being called, and this makes it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, like I said it has nothing to do with seaborn specifically. If the last line in your cell has a return value, it will appear in the cell output.
This is a REPL output.
If you don’t want to see it, you can either:
plt.show
(which is not necessary in a notebook, but also has no bad side effects) at the end of the cellPlease use StackOverflow or discourse for usage questions, though — they’re more visible than github issues.