Nigecat / obsidian-desmos

Embed graphs directly into your obsidian notes
GNU General Public License v3.0
123 stars 7 forks source link

Invalid bounds while bounds are correct #110

Closed Undomeno closed 4 months ago

Undomeno commented 6 months ago

Describe the bug A clear and concise description of what the bug is. Invalid bounds argument. Expected a bounds object with bounds.bottom < bounds.top, and bounds.left < bounds.right. Got {"left":-10,"right":10,"bottom":null,"top":null} Meanwhile, I set

top=20;
bottom=-10;
left=-10;
right=10;

Expected behavior A clear and concise description of what you expected to happen. The graph should render, instead it closed.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Nigecat commented 4 months ago

Can you send the full source? That seems to work fine for me - image

Undomeno commented 4 months ago

Can you send the full source? That seems to work fine for me - image

It works now, so i would close the issue. Thanks!