scatter_plot produces double plots
See original GitHub issuefollowing #3473:
import pandas as pd
import numpy as np
from pandas.tools.plotting import scatter_plot
df = pd.DataFrame( np.random.randn(100,4))
scatter_plot(df,x=1,y=2)
**Plot**
**Same Plot Again**
Issue Analytics
- State:
- Created 10 years ago
- Comments:18 (14 by maintainers)
Top Results From Across the Web
A Complete Guide to Scatter Plots - Chartio
Scatter plots are an essential type of data visualization that shows relationships between variables. Use this tutorial to learn how to use this...
Read more >Scatterplots and correlation review (article) - Khan Academy
A scatterplot is a type of data display that shows the relationship between two numerical variables. Each member of the dataset gets plotted...
Read more >Scatterplots and Correlation
A scatterplot shows the relationship between two quantitative variables measured for the same individuals. The values of one variable appear on the horizontal ......
Read more >Python Scatter Plot - How to visualize relationship between ...
Scatter plot is a graph of two sets of data along the two axes. It is used to visualize the relationship between the...
Read more >Plot Two Sets of Data on an X Y Scatter Chart - YouTube
Scatter charts may not always be easy to decipher, but once you and your audience get used to this type of chart, 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 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
FYI, you just need to catch the fig to keep it from displaying (or turning off inline plotting should also work)
I see it now. Returning
fig
is the problem. Returning just the axes would probably be the most consistent with the pandas API.