-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.plot
method for RoIs
#443
Comments
I'd favor "filled" regions for |
Yeah that was my intended meaning. I just wanted to flag in the issue that it means that we might need subclass-specific implementations of |
It is currently possible to plot RoIs by interating over their coordinates and passing this to a
matplotlib
function, like in the example in #440. However as highlighted in the PR discussion:Within the
BaseRegionOfInterest
class, all we'd need is a method likeThere are some differences between considering segments / lines (1D) and polygons (2D). We might want to fill the region occupied by a polygon for example, and these polygons might have holes too. For 1D objects I think the convention is fairly clear-cut - we can even just use
matplotlib.pyplot.plot
to draw the regions right away.The text was updated successfully, but these errors were encountered: