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
I tried the .animate method and noticed that the dims=[from,to] parameter does not have any influence on the axis ranges.
I also tried to pass a pre-configured axis (with the axis ranges set manually via the matplotlib api) to the method using ax=myaxes, but this complains about ax getting passed twice in some nested function.
I trying this using the "%matplotlib widget" pragma, since I am using jupyter lab / notebook 7 or newer.
BTW I found that passing an axis to the .plot() method is the only way to avoid getting two figures in stead of one in that context. When I run
changed the title [-]Cannot set axis ranges, axes for animate? Getting two figures (one empty) instead of one?[/-][+]Cannot set axis ranges, axes for animate? [/+]on Jul 10, 2024
Activity
[-]Cannot set axis ranges, axes for animate? Getting two figures (one empty) instead of one?[/-][+]Cannot set axis ranges, axes for animate? [/+]jcao-bdai commentedon Jul 19, 2024
Hi @johann-petrak , thank you for providing a detailed report
we've implemented an initial fix, in pull-request #131
please note that
ax=anddims=arguments;please feel free to give it a try if you are interested.
we will merge and cut a new release after we do more testing.
[Issue-126] fix several issues with animate (#131)
jcao-bdai commentedon Jul 29, 2024
PR merged.
fix: support scalar/2-elem dim shorthand in tranimate/Animate (#202)