Michael Waskom

Results 340 comments of Michael Waskom

`boxplot` isn't documented as accepting a `Series` for the `data` parameter, although it could probably be made to work somehow...

> The documentation suggests that it might work Can you point me to where? I believe you but the parameter docs for boxplot specifically say "data: DataFrame, array, or list...

> But, it would make sns.barplot(data=df) behave differently depending on whether df has one versus more numeric columns No, a dataframe with one column is still a dataframe / 2D...

> It makes sense, of course, but it still surprises. IMO the root issue here is that tidy/long-form data is better than "wide-form" data, where semantics need to be inferred...

`log_scale` in `histplot` does something different from `log` in `plt.hist`. In the former, it's the *data axis* that's log scaled (and the hist binning is done in log space). In...

What's happening here is that the "business end" of `histplot` only really cares about whether the matplotlib axis object has a log scale or not. The `log_scale` parameter's only proximal...

Actually I forgot ... `log_scale` also takes an `(x, y)` tuple so you don't need to modify the axes you could do ```python histplot(x, log_scale=(False, True)) ``` to recreate the...

I think my preferred way of allowing this would not be adding a new parameter but instead letting `dodge` take a continuous value (in addition to `True` which would maintain...

I also don't think that dodge/gap should affect the width of the plot elements; it should only influence where they are placed.

Unfortunately there's no way to get what you want through the seaborn API, but you can always create a custom legend of your own using matplotlib.