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

Fix plotting bug #2106

Merged
merged 1 commit into from
Aug 9, 2023
Merged

Fix plotting bug #2106

merged 1 commit into from
Aug 9, 2023

Conversation

chrisyeh96
Copy link
Contributor

Fixes #2105

When pandapower is imported, matplotlib savefig may run into a bug where the GraphicsContextBase._capstyle is set to a str instead of a CapStyle instance. Calling the proper set_capstyle() method solves this issue.
@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (bb687d7) 78.86% compared to head (f6f5c70) 78.86%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2106   +/-   ##
========================================
  Coverage    78.86%   78.86%           
========================================
  Files          213      213           
  Lines        26539    26539           
========================================
  Hits         20931    20931           
  Misses        5608     5608           

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

@rbolgaryn rbolgaryn merged commit 8b7d608 into e2nIEE:develop Aug 9, 2023
15 of 19 checks passed
@chrisyeh96 chrisyeh96 deleted the chrisyeh96-patch-1 branch August 9, 2023 06:41
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.

[bug] Pandapower interferes with matplotlib savefig
2 participants