Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
args: [--pytest-test-first]
- id: end-of-file-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.22
rev: v0.16.9
hooks:
- id: ruff-check
args: [--fix]
Expand Down
6 changes: 3 additions & 3 deletions docs/user/ypl_parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ import matplotlib.pyplot as plt
from yieldplotlib.load import EXOSIMSDirectory

# Load your simulation data
exosims = EXOSIMSDirectory('path/to/exosims/run')
exosims = EXOSIMSDirectory("path/to/exosims/run")

# Get the single visit detection completeness
det_info = exosims.get('blind_comp_det')
det_info = exosims.get("blind_comp_det")

# Create a scatter plot of star distance vs. yield
fig, ax = plt.subplots()
ax.ypl_scatter(exosims, x='star_dist', y='yield_earth')
ax.ypl_scatter(exosims, x="star_dist", y="yield_earth")
```

## Parameter Reference Table
Expand Down
Loading