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

[feat] Add the option to save a figure in plot setting params #351

Merged

Commits on Dec 1, 2021

  1. [feat] Add the option to save a figure in plot setting params

    Since non-GUI based environments would like to avoid the usage of
    show method in the matplotlib, I added the option to savefig and
    thus users can complete the operations inside AutoPytorch.
    nabenabe0928 committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    44bdf86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    26c8c1a View commit details
    Browse the repository at this point in the history
  3. [test] Add a test to check the priority of show and savefig

    Since plt.savefig and plt.show do not work at the same time due to the
    matplotlib design, we need to check whether show will not be called
    when a figname is specified. We can actually raise an error, but plot
    will be basically called in the end of an optimization, so I wanted
    to avoid raising an error and just sticked to a check by tests.
    nabenabe0928 committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    08368f7 View commit details
    Browse the repository at this point in the history