Skip to content

Commit

Permalink
remove pyplot remainings
Browse files Browse the repository at this point in the history
  • Loading branch information
BeastyBlacksmith committed Jan 16, 2024
1 parent 145a395 commit ed33ca6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/examples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,8 @@ _backend_skips = Dict(
],
)
_backend_skips[:plotly] = _backend_skips[:plotlyjs]
_backend_skips[:pythonplot] = _backend_skips[:pyplot]
# TODO: recover those numbers
# _backend_skips[:pythonplot] = _backend_skips[:pyplot]

# ---------------------------------------------------------------------------------
# replace `f(args...)` with `f(rng, args...)` for `f ∈ (rand, randn)`
Expand Down
2 changes: 1 addition & 1 deletion src/output.jl
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ end
# ---------------------------------------------------------

const _best_html_output_type =
KW(:pyplot => :png, :unicodeplots => :txt, :plotlyjs => :html, :plotly => :html)
KW(:pythonplot => :png, :unicodeplots => :txt, :plotlyjs => :html, :plotly => :html)

# a backup for html... passes to svg or png depending on the html_output_format arg
function _show(io::IO, ::MIME"text/html", plt::Plot)
Expand Down
4 changes: 0 additions & 4 deletions test/test_backends.jl
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ with(:plotlyjs) do
image_comparison_facts(:plotlyjs, tol = PLOTS_IMG_TOL, skip = Plots._backend_skips[:plotlyjs])
end
with(:pyplot) do
image_comparison_facts(:pyplot, tol = PLOTS_IMG_TOL, skip = Plots._backend_skips[:pyplot])
end
with(:pgfplotsx) do
image_comparison_facts(:pgfplotsx, tol = PLOTS_IMG_TOL, skip = Plots._backend_skips[:pgfplotsx])
end
Expand Down

0 comments on commit ed33ca6

Please sign in to comment.