Skip to content

Commit e3f3a21

Browse files
committed
fix
1 parent 3fc5e78 commit e3f3a21

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/source/gallery/model_criticism/plot_ppc_rootogram.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
azp.style.use("arviz-variat")
1717

1818
dt = load_arviz_data("rugby")
19-
pc = azp.plot_ppc_dist(
19+
pc = azp.plot_ppc_rootogram(
2020
dt,
2121
backend="none",
2222
)

src/arviz_plots/backend/matplotlib/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# pylint: disable=no-self-use
12
"""Matplotlib interface layer.
23
34
Notes
@@ -47,7 +48,7 @@ def set_default_locators_and_formatters(self, axis):
4748
axis.set_minor_locator(ticker.NullLocator())
4849
axis.set_minor_formatter(ticker.NullFormatter())
4950

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

0 commit comments

Comments
 (0)