Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aloctavodia committed Feb 21, 2025
1 parent 3fc5e78 commit e3f3a21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/gallery/model_criticism/plot_ppc_rootogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
azp.style.use("arviz-variat")

dt = load_arviz_data("rugby")
pc = azp.plot_ppc_dist(
pc = azp.plot_ppc_rootogram(
dt,
backend="none",
)
Expand Down
3 changes: 2 additions & 1 deletion src/arviz_plots/backend/matplotlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=no-self-use
"""Matplotlib interface layer.
Notes
Expand Down Expand Up @@ -47,7 +48,7 @@ def set_default_locators_and_formatters(self, axis):
axis.set_minor_locator(ticker.NullLocator())
axis.set_minor_formatter(ticker.NullFormatter())

def limit_range_for_scale(self, vmin, vmax, minpos):
def limit_range_for_scale(self, vmin, vmax, minpos): # pylint: disable=unused-argument
"""Limit the range of the scale."""
return max(0.0, vmin), vmax

Expand Down

0 comments on commit e3f3a21

Please sign in to comment.