implot icon indicating copy to clipboard operation
implot copied to clipboard

Any way to prevent an Y axis to resize itself because of a TagY?

Open aybe opened this issue 3 years ago • 3 comments

Following the example in the demo, I've got the following rendering:

Wipeout_P6NdrEpU5w

As you can see, depending the value of TagY, that Y axis eventually resizes itself.

Is there any way to make it slightly larger so that it doesn't constantly resize itself due to the changing value drawn by TagY?

Thank you.

aybe avatar Jan 10 '23 08:01 aybe

Not currently. You could pad the text in your tag with leading spaces as a quick fix.

epezent avatar Jan 10 '23 13:01 epezent

The trick works if using a monospaced font, but if not, mileage varies.

I leave the issue open so it gets a chance to be addressed in the next round of bug-fixing.

Thank you 😀

aybe avatar Jan 11 '23 10:01 aybe