In the documentation of Callout
, there is an example,
Table[ListPlot[Table[Callout[Fibonacci[n], Fibonacci[n], p], {n, 10}],
Frame -> True], {p, {Above, Below, Before, After}}]
the result of the documentation is
every callout is precisely inside Frame.
However, on my computer, I got Callouts out of frame all over the place.
Version 12.2 and 13.1 give same result, what is wrong? How to fix it without manually tweaking like PlotRangePadding
?
Imagesize
. Like thisdata = Table[Callout[Fibonacci[n], Fibonacci[n], p], {n, 10}]; Table[ListPlot[data, Frame -> True, ImageSize -> 200], {p, {Above, Below, Before, After}}]
here is screen shot !Mathematica graphics there might be better worksrounds. This looks like a bug? $\endgroup$ImageSize
? they looks like dashed lines. $\endgroup$ImagePadding
. Here is an updatedata=Table[Callout[Fibonacci[n],Fibonacci[n],p],{n,10}]; Table[ListPlot[data,Frame->True,ImageSize->200,ImagePadding->10], {p,{Above,Below,Before,After}}]
screen shot !Mathematica graphics note thatImagePadding
alone does not do the trick. $\endgroup$