Reputation: 1
This is my code
# create data set
import seaborn as sns
import pandas as pd
import matplotlib.pyplot as plt
data_dict = {'A': [1, 2, 3, 4, 5],
'B': [2, 4, 6, 8, 10],
'C': [1, 4, 9, 16, 25],
'D': [5, 4, 3, 2, 1]}
data_frame = pd.DataFrame(data_dict)
# Create a pair plot using seaborn
sns.pairplot(data_frame)
plt.show()
and this my pandas and seaborn version
1.5.0
0.12.0
The Problem
------------------------------------------------------------
StopIteration Traceback (most recent call last)
Cell In [67], line 13
10 data_frame = pd.DataFrame(data_dict)
12 # Create a pair plot using seaborn
---> 13 sns.pairplot(data_frame)
14 plt.show()
i try upgrading my seaborn version but and try another ways but the error still the same
Upvotes: 0
Views: 88