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

Bug-fix: plot_summary script generating empty pdfs. #1098

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

bobbyxng
Copy link
Contributor

Changes proposed in this Pull Request

  • Changes snakemake output of plot_summary to .svg:
  • costs=RESULTS + "graphs/costs.svg",
  • energy=RESULTS + "graphs/energy.svg",
  • balances=RESULTS + "graphs/balances-energy.svg",
  • For unknown reasons, plot_summary generates empty pdf outputs when called from CI (either through snakemake workflow or python scripts/plot_summary.py). This problem is mitigated when using .svg exports instead.

Checklist

  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.
  • Changed dependencies are added to envs/environment.yaml.

@bobbyxng bobbyxng requested a review from fneum June 11, 2024 13:15
@lisazeyen lisazeyen enabled auto-merge June 11, 2024 13:44
@lisazeyen lisazeyen merged commit f2014c2 into PyPSA:master Jun 11, 2024
6 checks passed
@bobbyxng bobbyxng deleted the plot_summary_fix branch June 20, 2024 22:00
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