From ee07881e34c0fe621f17e9995d6ac09eaa606892 Mon Sep 17 00:00:00 2001 From: jsmariegaard Date: Tue, 17 Dec 2024 17:18:44 +0100 Subject: [PATCH] SkillArrayPlotter and SkillGrid in menu --- docs/_quarto.yml | 6 +++++- docs/api/_styles-quartodoc.css | 2 +- modelskill/plotting/_scatter.py | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/_quarto.yml b/docs/_quarto.yml index 5af210cd..9c306909 100644 --- a/docs/_quarto.yml +++ b/docs/_quarto.yml @@ -93,6 +93,8 @@ website: - text: "ComparerCollectionPlotter" href: api/comparison.ComparerCollectionPlotter.qmd - api/SkillTable.qmd + - api/skill.SkillArrayPlotter.qmd + - api/skill.SkillGrid.qmd - text: "Plotting" href: api/plotting.qmd contents: @@ -189,8 +191,10 @@ quartodoc: - sel - save - load - - name : comparison.ComparerCollectionPlotter + - name: comparison.ComparerCollectionPlotter - name: SkillTable + - name: skill.SkillArrayPlotter + - name: skill.SkillGrid - title: Plotting desc: "" diff --git a/docs/api/_styles-quartodoc.css b/docs/api/_styles-quartodoc.css index fd3d1c01..9ce8ea87 100644 --- a/docs/api/_styles-quartodoc.css +++ b/docs/api/_styles-quartodoc.css @@ -1,5 +1,5 @@ /* -This file generated automatically by quartodoc version 0.8.0. +This file generated automatically by quartodoc version 0.9.1. Modifications may be overwritten by quartodoc build. If you want to customize styles, create a new .css file to avoid losing changes. */ diff --git a/modelskill/plotting/_scatter.py b/modelskill/plotting/_scatter.py index c60ae376..e3d1ed6a 100644 --- a/modelskill/plotting/_scatter.py +++ b/modelskill/plotting/_scatter.py @@ -138,6 +138,9 @@ def scatter( ms.plotting.scatter(x, y, skill_table=True) ``` ```{python} + ms.plotting.scatter(x, y, show_density=False, show_hist=True, cmap="Reds") + ``` + ```{python} ms.plotting.scatter(x, y, quantiles=0, title="Hide quantiles") ``` ```{python}