Tim Hoffmann

Results 726 comments of Tim Hoffmann

The API extension would be straight forward: `ax.voxels([x, y, z,] /, filled, ...` ``` filled : 3D np.array of bool A 3D array of values, with truthy values indicating which...

What is The reason for this change? Do you have any particular use case? At least when writing out the spec explicitly, I'd want users to use lists. I rather...

Ok thanks for the clarification. I suspect that you're barking up the wrong tree and instead the TypeVar `_HT` used in `HashableList` might need to be declared covariant. But I'm...

Your setup is broken, the issue is hat you have stuff in `/home/codespace/.local/lib/python3.12`. This can e.g. happen if you have at some point installed something with `pip install --user`. Such...

Thanks for the hint. It's indeed true that `tick_params` is not a full replacement. So the first step would be to add API (possibly in `tick_params`) to allow full customization...

Note: `set_xticklabels()` is now discouraged because setting labels without positions is error-prone. https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.set_xticklabels.html. It is recommended to use `set_xticks(positions, labels) instead, but that internally propagates the kwargs to `set_xticklabels()` -...

> I am at a loss how to write a unit test for this though, as I do not know how to mock the gui interaction. Let's not over-think this....

This is fundamentally reasonable, and it indeed seems to be the more common convention. This mainly needs design decisions: - Do we want to support both or can we switch/migrate...

> > While at it, we likely want an option to keep or discard trailing zeros: $12.300\ 10^3$ vs. $12.3\ 10^3$ > > Trailing zeros _are_ significant. If you ask...

Thanks for the interest in contributing! We have a high bar on adding new colormaps: https://matplotlib.org/devdocs/devel/api_changes.html#add-or-change-colormaps-color-sequences-and-styles In matplotlib 3.10 we added a new colorblind friendly colormap: https://matplotlib.org/devdocs/release/prev_whats_new/whats_new_3.10.0.html#accessible-colors Why is it...