lmplot legend_out=True not working
See original GitHub issueUsing v 0.3.1 installed via pip, running in ipython notebook, when I run lmplot, the legend is always in the middle of the plot.
Even using the example:
tips = sns.load_dataset('tips')
sns.lmplot('total_bill', 'tip', tips, hue='smoker', fit_reg=False)
The legend lies within the borders of the plot. If I manually set legend_out=True
, it still doesn’t affect the results.
Issue Analytics
- State:
- Created 9 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Move legend outside figure in seaborn tsplot - Stack Overflow
The answer by Sergey worked great for me using a seaborn.tsplot but I was not able to get it working for an seaborn.lmplot...
Read more >seaborn.lmplot — seaborn 0.12.1 documentation - PyData |
This binning only influences how the scatterplot is drawn; the regression is still fit to the original data. This parameter is interpreted either...
Read more >Python - seaborn.lmplot() method - GeeksforGeeks
seaborn.lmplot() method is used to draw a scatter plot onto a FacetGrid ... (not necessary spaced) bins or the positions of the bin...
Read more >Lmplot - Seaborn - YouTube
We go over the entirety of seaborn's lmplot. We talk about factor grids and doing conditional linear regression. We talk about logistic, ...
Read more >Data Visualization with Python and Seaborn — Part 4: LM Plot ...
To begin with, we shall at first try to gain statistical overview of the concept of Linear Regression. As our intention isn't to...
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 Free
Top 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
@tkf When
plt.tight_layout()
enabled, the problem still exists.@blubbi321 It probably is fixed by my PR #1236.