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

Subfiglabels #30

Merged
merged 5 commits into from
May 13, 2024
Merged

Subfiglabels #30

merged 5 commits into from
May 13, 2024

Conversation

audunth
Copy link
Contributor

@audunth audunth commented May 10, 2024

No description provided.

@audunth audunth requested a review from engeir May 10, 2024 12:59
@@ -91,7 +91,10 @@ def change_log_axis_base(
)
return axes

def figure_multiple_rows_columns(rows: int, columns: int) -> Tuple[Figure, List[Axes]]:
def figure_multiple_rows_columns(rows: int, columns: int,
labels: List[str] | None = None,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The | type specifier was added in 3.10, so since cosmoplots supports 3.8 it should probably be Union[List[str], None].

@engeir
Copy link
Member

engeir commented May 10, 2024

I also noticed now that the return type in the docstring is plt.Axes instead of List[plt.Axes] which is actually returned.

@engeir engeir linked an issue May 11, 2024 that may be closed by this pull request
@audunth audunth merged commit f59799e into main May 13, 2024
10 checks passed
@audunth audunth deleted the subfiglabels branch May 13, 2024 06:38
@engeir engeir added the enhancement New feature or request label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: multifigure labels
2 participants