Closed olivier-gerard closed 11 months ago
Hi, this seems like it might be the result of using a small value for PlotPadding. As you can see, the default values have no issue...
... but making PlotPadding
(0,0) introduces the clipping:
So, you can push and pop a larger value of for PlotPadding around your colorbar to achieve the same result.
Thanks for the hint ! I was pushing a small PlotPadding in order to maximize the colorbar size (and didn't imagine it would affect the labels layout), now I only push it on the X axis and it works nicely.
Hi,
I noted the first and last labels of a colorbar are cropped (see picture below), which gives a bad impression while all the rest is just great.
I suggest following change, making the colormap slightly smaller so labels can fit: in implot.cpp, void ColormapScale(...)
remove :
replaced by:
-> , (or whith white background : -> )