Skip to content

Conversation

@nvaytet
Copy link
Member

@nvaytet nvaytet commented Nov 10, 2025

Fixes the case where ax.set_xscale('log') is called before the artist is added to the axes.
This should now work:

import numpy as np
import matplotgl.pyplot as plt

x, y = np.random.normal(size=(2, 50_000))

fig, ax = plt.subplots()

ax.set_xscale('log')
ax.scatter(x, y)

fig

@nvaytet nvaytet merged commit 55500d7 into main Nov 10, 2025
4 checks passed
@nvaytet nvaytet deleted the logscale-in-other-artists branch November 10, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants