Skip to content

Commit

Permalink
Merge pull request #16 from optuna/add-instruction-when-adding-images
Browse files Browse the repository at this point in the history
Add explanation about figures
  • Loading branch information
HideakiImamura authored May 15, 2024
2 parents 74ac2a9 + 2926170 commit 14990e9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if __name__ == "__main__":
fig.show()
```

![Example](img/example.png "Example")
![Example](images/example.png "Example")


# Author Information
Expand Down
4 changes: 4 additions & 0 deletions recipes/001_first.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ def objective(trial: optuna.trial.Trial) -> float:
# | ├── README.md
# | ├── __init__.py
# | ├── LICENSE
# | ├── images
# | │ ├── thumbnail.png
# | │ └── screenshot.png
# | └── YOUR_ALGORITHM_NAME.py
#
# If you implement not visualizarion feature but sampler, you should put your implementation in the `samplers` directory.
Expand All @@ -131,6 +134,7 @@ def objective(trial: optuna.trial.Trial) -> float:
# - `README.md`: A description of your algorithm. This file is used to create an `web page of OptunaHub <TBD>`_. Let me explain the format of the `README.md` file later.
# - `__init__.py`: An initialization file. This file must import your impelemented sampler from `YOUR_ALGORITHM_NAME.py`.
# - `LICENSE`: A license file. This file must contain the license of your algorithm. It should be the MIT license in the alpha version.
# - `images`: This is optional. A directory that contains images. You can put images that are used in the `web page of OptunaHub <TBD>`_. Note that the image file named `thumbnail.png` is used as a thumbnail in the web page. If you want to put other images like `screenshot.png` and use them in the `README.md` file, please use the relative path like `images/screenshot.png`.
# - `YOUR_ALGORITHM_NAME.py`: Your implemented sampler.
#
# The `README.md` file must contain the following sections:
Expand Down

0 comments on commit 14990e9

Please sign in to comment.