Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: points outside of xlim and ylim are shown #14

Open
cgahr opened this issue Nov 6, 2024 · 0 comments
Open

Bug: points outside of xlim and ylim are shown #14

cgahr opened this issue Nov 6, 2024 · 0 comments

Comments

@cgahr
Copy link

cgahr commented Nov 6, 2024

Points outside of xlim or ylim are shown, even if they should not be visible.

To reproduce:

import matplotlib as mpl
import matplotlib.pyplot as plt
import mpl_typst.as_default  # noqa: F401

fig, ax = plt.subplots(1, 1)
ax.plot([1, 2, 3, 10])
ax.set_ylim(0, 4)
fig.savefig("test.typ")
@cgahr cgahr changed the title Bug: points outside of xlim and ylim are not respected Bug: points outside of xlim and ylim are shown Nov 6, 2024
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

No branches or pull requests

1 participant