Open jhncls opened 8 months ago
Hm this sounds like a regression, do you happen to know if it works on 0.11/0.12?
Testing with 0.13.2 / 0.13.0 / 0.12.2 / 0.12.0 / 0.11.2 / 0.11.0 all give the same error at the same line value = self.lookup_table[key][attr]
.
For a minimal test case: sns.scatterplot(data=[[7]], markers=False)
Thanks for checking. Of note, lineplot
handles this as expected
sns.lineplot(tips, markers=False, dashes=False)
Seaborn 0.13 is getting more friendly towards wide form data. With a scatter plot, the index (if available) is used as
x=
, and the columns are used both ashue=
andstyle=
. If the user wants to remove the effects of style,markers=False
gives an error : "KeyError: 'marker'".Code tested with seaborn 0.13.2 and also the latest dev version:
With
markers=['.']
, there is a warning about not having enough markers. (The more convolutedmarkers=['.']*len(flights_wide.columns)
works without problem.)On the other hand,
marker='.'
is completely ignored.PS: trace of the error with
markers=False
(seaborn 0.13.2):