You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the automatic determination of x- and y-lims tends to cut off my (big) nodes.
would be nice if there were a padding feature to add padding to the x- and y-lims to expand the bounding box.
(I'm making many such figures so manual tuning of axes not acceptable.)
oddly I get the following values for the automatically determined x, y-axis limits (which I seek to modify) for this plot. the y-axis limits are clearly incorrect.
As to the last post, final limits are always computed at display time. You can run Makie.update_state_before_display!(fig) to make them compute limits, though.
I think the underlying issue is that the Makie limit calculation does not take things into account that are drawn in pixel space rather than data space, i.e., elements that are displayed at the same size regardless of zoom level. Calculating proper limits is nontrivial since the limits affect the zoom level and, therefore, the projection of the pixel-space objects into data space.
This discourse post might help you to define a function to fix the limits after plotting.
the automatic determination of x- and y-lims tends to cut off my (big) nodes.
would be nice if there were a
padding
feature to add padding to the x- and y-lims to expand the bounding box.(I'm making many such figures so manual tuning of axes not acceptable.)
oddly I get the following values for the automatically determined x, y-axis limits (which I seek to modify) for this plot. the y-axis limits are clearly incorrect.
another posting a similar issue here.
The text was updated successfully, but these errors were encountered: