Skip to content

Commit

Permalink
unpin matplotlib (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
aloctavodia authored Oct 18, 2023
1 parent 3e09a38 commit 492ed61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions preliz/internal/plot_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ def plot_pdfpmf(
dist, moments, pointinterval, interval, levels, support, legend, color, alpha, figsize, ax
):
ax = get_ax(ax, figsize)
if color is None:
color = next(ax._get_lines.prop_cycler)["color"]
if legend is not None:
label = repr_to_matplotlib(dist)

Expand Down Expand Up @@ -157,8 +155,6 @@ def plot_cdf(
dist, moments, pointinterval, interval, levels, support, legend, color, alpha, figsize, ax
):
ax = get_ax(ax, figsize)
if color is None:
color = next(ax._get_lines.prop_cycler)["color"]
if legend is not None:
label = repr_to_matplotlib(dist)

Expand Down Expand Up @@ -196,9 +192,6 @@ def plot_cdf(

def plot_ppf(dist, moments, pointinterval, interval, levels, legend, color, alpha, figsize, ax):
ax = get_ax(ax, figsize)
if color is None:
color = next(ax._get_lines.prop_cycler)["color"]

if legend is not None:
label = repr_to_matplotlib(dist)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dynamic = ["version"]
description = "The place for all your prior elicitation needs."
dependencies = [
"arviz",
"matplotlib<3.8,>=3.5",
"matplotlib>=3.5",
"numpy>=1.22",
"scipy>=1.9.1",
]
Expand Down

0 comments on commit 492ed61

Please sign in to comment.