Skip to content
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

Feature: Convenience method to get a shape by its name #798

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

lthamm
Copy link

@lthamm lthamm commented Mar 21, 2022

I find it very unpleasant in complex, living documents to work with the idx of a shape, because it always requires a map of idx to the shape.
The signature of the proposed _BaseShape.get_by_name is equal to the one of the method for layouts.

@timhoffm
Copy link

Closes #309.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants