Skip to content

Commit c082984

Browse files
committed
changes
1 parent ef1d402 commit c082984

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Install the requirments for predicing in the current Conda environment:
4141

4242
```python
4343
from deepexo.rockyplanet import RockyPlanet
44+
4445
# Keplar-78b
4546
M = 1.77 # mass in Earth masses
4647
R = 1.228 # radius in Earth radii
@@ -55,7 +56,12 @@ planet_params = [
5556
]
5657
rp = RockyPlanet()
5758
pred = rp.predict(planet_params)
58-
rp.plot(pred, save=True, filename="pred.png")
59+
rp.plot(pred,
60+
save=True, # save to file
61+
filename="pred.png" # save to current directory, filename is pred.png, you can change the extension to eps
62+
# or pdf
63+
)
64+
5965
```
6066
## References
6167
[https://www.science.org/doi/10.1126/science.abg8794](https://www.science.org/doi/10.1126/science.abg8794)

0 commit comments

Comments
 (0)