Create optuna.visualization.matplotlib.#1756
Conversation
HideakiImamura
left a comment
There was a problem hiding this comment.
Thanks for the PR! I have several comments. Could you take a look?
|
How about retuning matplotlib's Axes object like https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.DataFrame.plot.html |
In the viewpoint of #1707 (comment), I'm +1 to introduce |
Co-authored-by: Hideaki Imamura <38826298+HideakiImamura@users.noreply.github.com>
|
@HideakiImamura @c-bata |
Thank you for your suggestion. I assume you mean 'return' not 'retune', right? |
|
Sorry for my delayed response 🙏
Exactly! It was just a typo of 'returning'.
IMO, it's better to type returned value to |
Sounds good. When we released the current visualization functions, some users requested to customize the figures. IMO, it is reasonable to provide such a feature for matplotlib backend. @ytknzw |
|
@c-bata @toshihikoyanase |
toshihikoyanase
left a comment
There was a problem hiding this comment.
Thank you for your update. I added some small comments. I may be able to work on them as a follow-up task.
Co-authored-by: Toshihiko Yanase <toshihiko.yanase@gmail.com>
Co-authored-by: Toshihiko Yanase <toshihiko.yanase@gmail.com>
Co-authored-by: Toshihiko Yanase <toshihiko.yanase@gmail.com>
toshihikoyanase
left a comment
There was a problem hiding this comment.
Thank you for your swift action. LGTM. I'm waiting for the CI jobs to merge this PR.
This PR proposes to implement
matplotlibbackend for plotting functions asoptuna.visualization.matplotlib.Motivation
To provide another visualization option for users, who have only
plotlynow.See issue #1539 and PR #1707 for the original motivation.
Description of the changes
Create
optuna.visualization.matplotlib. All the functions corresponding to the current Plotly backend are to be implemented inPR #1707the following PRs.