Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information