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

chore: Migrate typing to matplotlib v3.8.0 #563

Merged
merged 4 commits into from
Sep 22, 2023
Merged

Conversation

SiQube
Copy link
Member

@SiQube SiQube commented Sep 15, 2023

there are still a couple of TODOs, see pydata/xarray#8030, but we can upgrade to matplotlib==3.8.0.

I'll leave it up to my fellow code owners @dkrako and @prassepaul to decide which way to merge. either this one or #561. this PR would resolve #562

@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (5e0959f) 100.00% compared to head (077dffb) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #563   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           50        50           
  Lines         2200      2208    +8     
  Branches       543       545    +2     
=========================================
+ Hits          2200      2208    +8     
Files Changed Coverage Δ
src/pymovements/plotting/main_sequence_plot.py 100.00% <100.00%> (ø)
src/pymovements/plotting/traceplot.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SiQube
Copy link
Member Author

SiQube commented Sep 15, 2023

would resolve #562

@SiQube SiQube force-pushed the upgrade-matplotlib-380 branch from bc1af47 to 90bc557 Compare September 15, 2023 17:53
Copy link
Contributor

@dkrako dkrako left a comment

Choose a reason for hiding this comment

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

Thank you so much for taking care of this.

Regarding importing of typehints I have two minor change requests though.

src/pymovements/plotting/traceplot.py Show resolved Hide resolved
src/pymovements/plotting/traceplot.py Show resolved Hide resolved
Copy link
Contributor

@dkrako dkrako left a comment

Choose a reason for hiding this comment

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

Alright, let's merge then

src/pymovements/plotting/traceplot.py Show resolved Hide resolved
@dkrako dkrako changed the title fix mypy to upgrade matplotlib chore: Migrate typing to matplotlib v3.8.0 Sep 22, 2023
@dkrako dkrako merged commit 869534f into main Sep 22, 2023
20 checks passed
@dkrako dkrako deleted the upgrade-matplotlib-380 branch September 22, 2023 12:21
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.

upgrade matplotlib to 3.8
2 participants