I recently updated my seaport from 0.5.1 to the new version 0.6.0. I used sea boats to create graphic plots and violins in a python laptop, and now I can no longer work on my code. Matplotlib plt.boxplotis still working with my data. In particular, the problem arises when I have a group of lists or arrays in which the subsets vary in size.
eg:.
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
x = np.array([1,3,4]), ([1,2])
plt.boxplot(x)
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
x = np.array([1,3,4]), ([1,2])
sns.boxplot(x)
This is the mistake I get when I try to build the plot of a ship
ValueError: boxplot statistics list and `position` values must have the same length
, sns.boxplot , plt.boxplot. - ? ? , 0.6.0, 0.5.1 ?