Jody Klymak

Results 561 comments of Jody Klymak

Thanks for moving this - apologies for not realizing there is a separate repo. Transferring, however, keeps the status as closed.

The only reason to use `scatter` over `plot` is to have the marker size and color change on a per-point basis. If you want all your dots to have the...

> but scatter-> scatter plots and plot-> line plots is a reasonable way to understand/use the API. Sure, but it would also be misleading. The `scatter` API has different names...

@francescoboc there has to be a default, and `plot` happens to default to a line with no marker. `plt.plot(x, y, 'o')` is the idiomatic way to make just circular markers...

> This in my opinion is misleading and leads many users to misuse the scatter function. I don't think it's a misuse of `scatter`, but it just has a different...

"Users should consider using ax.inset_axes instead". https://matplotlib.org/stable/users/explain/axes/colorbar_placement.html#colorbar-placement

``` import matplotlib.pyplot as plt import numpy as np fig, axes = plt.subplots(1, 1, layout='constrained') x = np.random.randint(100, size=(30, 200)) c = axes.imshow(x, origin='lower', cmap='Reds', aspect=1) axins1 = axes.inset_axes([0.05, 0.8,...

Xkcd is basically a theme, so it is expected to overwrite previously set themes and rcParams. I think Matplotlib is working as expected here.

All `plt.xkcd` does is ``` rcParams.update({ 'font.family': ['xkcd', 'xkcd Script', 'Comic Neue', 'Comic Sans MS'], 'font.size': 14.0, 'path.sketch': (scale, length, randomness), 'path.effects': [ patheffects.withStroke(linewidth=4, foreground="w")], 'axes.linewidth': 1.5, 'lines.linewidth': 2.0, 'figure.facecolor':...

I think it would be reasonable to add set/get_title_left/right and then alias the loc="right/left".