Repository navigation
docs: combine visualization backend examples - #6833
Conversation
|
This pull request has not seen any recent activity. |
|
@kAIto47802 Could you review this PR? |
|
This pull request has not seen any recent activity. |
|
Thank you for the review, and sorry for the late reply. I don’t think the download links are essential here, since this is an API reference rather than a tutorial. The examples are short enough to copy and paste directly. |
c-bata
left a comment
There was a problem hiding this comment.
Given that image paths are hardcoded and we only use limited features of Sphinx Gallery, we should consider replacing it in the long run. But this change looks good for now!
LGTM.
|
Thank you for the comment. OK, I agree that these download links are not so important here. |
|
@kAIto47802 |
kAIto47802
left a comment
There was a problem hiding this comment.
Thank you for the update! LGTM




Motivation
The visualization documentation currently separates Plotly and Matplotlib examples and uses Kaleido-based PNG scraping for Plotly thumbnails. This makes the documentation structure harder to navigate and adds an unnecessary Kaleido dependency to the documentation build.
The screenshots below show the unified visualization page, where the Plotly and Matplotlib examples can be switched using tabs.

Description of the changes
API Reference > optuna.visualization.sphinx-designfor the visualization cards.optuna/were modified.Validation
ruff checkpassed.ruff formatpassed.libomp.dylib, which affects existing LightGBM examples.Checklist