Michael Waskom

Results 340 comments of Michael Waskom

Yes, your issue is with the `Float64` types produced by `convert_dtypes`. Using "regular" `float64` should work fine.

> However, convert_dtypes() usage results in the error. Right, `convert_dtypes` produces pandas types by default. You could use `convert_floating=False` too...

> I was considering subclassing Plot to add a __call__ method, as I want to create a declarative plot specification, but provide the data a posteriori via a call to...

Sorry I am not quite following what you mean by "export outside Python". I am asking because your use-case sounds somewhat similar to other idea I have considered, e.g. a...

Can you please craft a reproducible example that uses seaborn directly? It's going to be necessary to understand how your library is using seaborn to make any sense of what...

I would be surprised if this were really about the version of Python itself. You also have different versions of most dependencies. Do you have scipy installed, and if so,...

Any update on a reproducible example @cfreder2? I am not seeing this using an analogous built-in dataset: ```python import seaborn as sns mpg = sns.load_dataset("mpg") sns.kdeplot(mpg, x="horsepower", y="mpg") ``` ![image](https://github.com/mwaskom/seaborn/assets/315810/6b0cc184-31c0-48be-aacb-1cf11055ef63)...

This looks like a bug probably the same underlying issue as https://github.com/mwaskom/seaborn/issues/3015. You can work around it by sorting your dataframe on the column you're using to group by before...

You can also pass a `Nominal` scale with an explicit ordering: ```python ( so.Plot(penguins, x="island",y='bill_length_mm', color="species") .add(so.Range(), so.Est(errorbar="sd"), so.Dodge()) .add(so.Dot(pointsize=2), so.Jitter(0.2), so.Dodge()) .add(so.Bar(), so.Agg(), so.Dodge()) .scale(color=so.Nominal(order=penguins["species"].unique().tolist())) ) ``` So the...

Thanks, yeah seaborn already does manage order internally (and turns off sorting) when using groupbys, and that's happening in the order-sensitive move like `Dodge`. However, the default ordering is not...