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

TYP: Add common-type overloads of subplot_mosaic #26491

Merged
merged 1 commit into from
Sep 7, 2023

Commits on Sep 6, 2023

  1. TYP: Add common type overloads of subplot_mosaic

    I'll assert, without proof, that passing a single string, a mosaic list
    of strings, or a mosaic list all of the same type is more common than
    passing arbitrary unrelated hashables. Thus it is somewhat convenient if
    the return type stipulates that the resulting dictionary is also keyed
    with strings or the common type.
    
    This also fixes the type of the `per_subplot_kw` argument, which also
    allows dictionary keys of tuples of the entries.
    QuLogic committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    58d5aad View commit details
    Browse the repository at this point in the history