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

[plot] Add savefig option #66

Merged
merged 2 commits into from
Mar 15, 2023
Merged

[plot] Add savefig option #66

merged 2 commits into from
Mar 15, 2023

Conversation

stephane-caron
Copy link
Member

@stephane-caron stephane-caron commented Mar 14, 2023

Suggested in #65

@stephane-caron
Copy link
Member Author

Usage:

python benchmark.py maros_meszaros_dense plot runtime high_accuracy --savefig test.png
python benchmark.py maros_meszaros_dense plot runtime high_accuracy --savefig test.svg
python benchmark.py maros_meszaros_dense plot runtime high_accuracy --savefig test.pdf

@stephane-caron
Copy link
Member Author

Added a --title argument that can be used to skip plot titling as well:

python benchmark.py maros_meszaros_dense plot runtime high_accuracy --savefig test.png --title ""

@stephane-caron stephane-caron merged commit 4b417e8 into main Mar 15, 2023
@stephane-caron stephane-caron deleted the feature/savefig branch March 15, 2023 16:54
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