Skip to content

Raise an exception when use_pdferr is used together with plot_fancy#1844

Merged
scarlehoff merged 4 commits into
masterfrom
raise_and_exception_with_plot_fancy_and_pdferr
Nov 14, 2023
Merged

Raise an exception when use_pdferr is used together with plot_fancy#1844
scarlehoff merged 4 commits into
masterfrom
raise_and_exception_with_plot_fancy_and_pdferr

Conversation

@scarlehoff
Copy link
Copy Markdown
Member

Addresses #1843

I'm just adding a check to plot_fancy. I've taken the liberty to also run black since apparently it was missing from dataplots.py?

The only change that is not from black is in line 397 (sorry @RoyStegeman, I must've somehow missed dataplots.py when I passed black to every file...)

@scarlehoff scarlehoff linked an issue Nov 14, 2023 that may be closed by this pull request
@RoyStegeman
Copy link
Copy Markdown
Member

RoyStegeman commented Nov 14, 2023

sorry @RoyStegeman, I must've somehow missed dataplots.py when I passed black to every file...

I think these diffs are due to my own change: ccf3c62

Though there are also a lot of other changes, so maybe it was indeed missed :)

Comment thread validphys2/src/validphys/checks.py Outdated
@scarlehoff scarlehoff merged commit 22e6342 into master Nov 14, 2023
@scarlehoff scarlehoff deleted the raise_and_exception_with_plot_fancy_and_pdferr branch November 14, 2023 20:35
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.

When using pdferr in plot_fancy the pdf errors are used twice.

2 participants