question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change the default filename of the PNG plot

See original GitHub issue

Hello,

I’ve noticed that the default filename of the “Download plot as a png” feature is newplot.png. It would be better to name it following a more appropriate pattern such as <Name of the CTF>.<date>.<time>.scoreboard.png or something similar.

I can open a pull request if needed.

Thank you.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MathisHammelcommented, Oct 4, 2018

The fix is in #684 😃

0reactions
SkypLabscommented, Oct 6, 2018

Wonderful!

Should I close this issue or do you prefer to keep it open until #684 gets merged?

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - How to change default filename from Matplotlib ...
Idea #1: What I found is the option to use matplotlib.rcParams['savefig.directory'] and use that to set the directory of where the dialog should ......
Read more >
specifying name of saved plot image file - Bokeh Discourse
Hi, I'm wondering if there's a way to specify the default name of the file that the plot image is saved to when...
Read more >
Request to support filename config when downloading a ...
The plotly modebar provides a "download plot as a png" button However, ... Change the default filename of the PNG plot CTFd/CTFd#682.
Read more >
Save a ggplot (or other grid object) with sensible defaults
ggsave() is a convenient function for saving a plot. It defaults to saving the last plot that you displayed, using the size of...
Read more >
Save figure to specific file format - MATLAB saveas
Specify the file name as a character vector or string that includes a file extension, for example, 'myplot.jpg' . The file extension defines...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found