From cc1bd28ccd950963b9fe53a61888bd5ed7c46809 Mon Sep 17 00:00:00 2001 From: t-bltg Date: Tue, 5 Apr 2022 00:52:49 +0200 Subject: [PATCH] Disable warnings on experimental backends (#4169) --- src/backends/gaston.jl | 4 +--- src/backends/inspectdr.jl | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/backends/gaston.jl b/src/backends/gaston.jl index b04dd62a..e9d6e30c 100644 --- a/src/backends/gaston.jl +++ b/src/backends/gaston.jl @@ -1,8 +1,6 @@ # https://github.com/mbaz/Gaston. -# -------------------------------------------- -# These functions are called by Plots -# -------------------------------------------- +should_warn_on_unsupported(::GastonBackend) = false # Create the window/figure for this backend. function _create_backend_figure(plt::Plot{GastonBackend}) diff --git a/src/backends/inspectdr.jl b/src/backends/inspectdr.jl index afb5d530..9f991897 100644 --- a/src/backends/inspectdr.jl +++ b/src/backends/inspectdr.jl @@ -13,7 +13,7 @@ Add in functionality to Plots.jl: :aspect_ratio, =# -# --------------------------------------------------------------------------- +should_warn_on_unsupported(::InspectDRBackend) = false is_marker_supported(::InspectDRBackend, shape::Shape) = true