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've been using polytope for a while now after using MPT for quite some time in MATLAB. Congrats on the nice work.
I've been trying to plot several polytopes in the same plot (some of these are within a Region and other from other polytopic operations) and have found the handy _get_patch inside polyope.py:
From this subtle change I am able to use _get_patch to reconstruct the plot in a new figure with all polytopes I want to show in a single one:
In the case above I am plotting a collection of convex polytopes that were inside a Region + Its respective bounding box, just for illustration purposes.
Am I overcomplicating things or should _get_patch be available for importing so it can be freely used?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
I've been using polytope for a while now after using MPT for quite some time in MATLAB. Congrats on the nice work.
I've been trying to plot several polytopes in the same plot (some of these are within a Region and other from other polytopic operations) and have found the handy
_get_patch
inside polyope.py:polytope/polytope/polytope.py
Line 2292 in 1785813
But this import is not available unless chagning init.py as:
From this subtle change I am able to use _get_patch to reconstruct the plot in a new figure with all polytopes I want to show in a single one:
In the case above I am plotting a collection of convex polytopes that were inside a Region + Its respective bounding box, just for illustration purposes.
Am I overcomplicating things or should _get_patch be available for importing so it can be freely used?
Thanks.
The text was updated successfully, but these errors were encountered: