diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f80317c2..798d414c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] diff --git a/docs/user/ypl_parameters.md b/docs/user/ypl_parameters.md index 34ef8e71..298281f8 100644 --- a/docs/user/ypl_parameters.md +++ b/docs/user/ypl_parameters.md @@ -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