Skip to content

Capture specific warnings to reduce clutter in output#4

Open
zmughal wants to merge 2 commits intomasterfrom
capture-warnings
Open

Capture specific warnings to reduce clutter in output#4
zmughal wants to merge 2 commits intomasterfrom
capture-warnings

Conversation

@zmughal
Copy link
Copy Markdown
Member

@zmughal zmughal commented Dec 23, 2024

  • fix: Capture specific warnings from PDL::Graphics::Gnuplot
  • fix: check for replottable flag before replotting

Otherwise these show up in the notebook and visually clutter the output.
Prevent replot attempts when nothing has been plotted yet.  This
commonly occurs when a code cell ends with just initializing the Gnuplot
window, e.g.,

```perl
my $gp = gpwin();
```

Note: Uses internal `replottable` flag, but this should be fine for now.
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.

1 participant