Skip to content

Commit 300c244

Browse files
committed
cleanup: drop deprecated pgfplots
1 parent 43f2eb5 commit 300c244

File tree

4 files changed

+2
-853
lines changed

4 files changed

+2
-853
lines changed

src/backends.jl

Lines changed: 1 addition & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,7 @@ const _deprecated_backends =
195195

196196
function warn_on_deprecated_backend(bsym::Symbol)
197197
if bsym in _deprecated_backends
198-
if bsym === :pgfplots
199-
@warn("Backend $bsym has been deprecated. Use pgfplotsx instead.")
200-
else
201-
@warn("Backend $bsym has been deprecated.")
202-
end
198+
@warn("Backend $bsym has been deprecated.")
203199
end
204200
end
205201

@@ -261,7 +257,6 @@ end
261257
@init_backend Plotly
262258
@init_backend PlotlyJS
263259
@init_backend GR
264-
@init_backend PGFPlots
265260
@init_backend PGFPlotsX
266261
@init_backend InspectDR
267262
@init_backend HDF5
@@ -561,102 +556,6 @@ const _plotly_scale = [:identity, :log10]
561556

562557
defaultOutputFormat(plt::Plot{Plots.PlotlyBackend}) = "html"
563558

564-
# ------------------------------------------------------------------------------
565-
# pgfplots
566-
567-
const _pgfplots_attr = merge_with_base_supported([
568-
:annotations,
569-
:legend_background_color,
570-
:background_color_inside,
571-
# :background_color_outside,
572-
# :legend_foreground_color,
573-
:foreground_color_grid,
574-
:foreground_color_axis,
575-
:foreground_color_text,
576-
:foreground_color_border,
577-
:label,
578-
:seriescolor,
579-
:seriesalpha,
580-
:linecolor,
581-
:linestyle,
582-
:linewidth,
583-
:linealpha,
584-
:markershape,
585-
:markercolor,
586-
:markersize,
587-
:markeralpha,
588-
:markerstrokewidth,
589-
:markerstrokecolor,
590-
:markerstrokealpha,
591-
:markerstrokestyle,
592-
:fillrange,
593-
:fillcolor,
594-
:fillalpha,
595-
:bins,
596-
# :bar_width, :bar_edges,
597-
:title,
598-
# :window_title,
599-
:guide,
600-
:guide_position,
601-
:lims,
602-
:ticks,
603-
:scale,
604-
:flip,
605-
:rotation,
606-
:tickfont,
607-
:guidefont,
608-
:legendfont,
609-
:grid,
610-
:legend,
611-
:colorbar,
612-
:colorbar_title,
613-
:fill_z,
614-
:line_z,
615-
:marker_z,
616-
:levels,
617-
# :ribbon, :quiver, :arrow,
618-
# :orientation,
619-
# :overwrite_figure,
620-
:polar,
621-
# :normalize, :weights, :contours,
622-
:aspect_ratio,
623-
:tick_direction,
624-
:framestyle,
625-
:camera,
626-
:contour_labels,
627-
])
628-
const _pgfplots_seriestype = [
629-
:path,
630-
:path3d,
631-
:scatter,
632-
:steppre,
633-
:stepmid,
634-
:steppost,
635-
:histogram2d,
636-
:ysticks,
637-
:xsticks,
638-
:contour,
639-
:shape,
640-
:straightline,
641-
]
642-
const _pgfplots_style = [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]
643-
const _pgfplots_marker = [
644-
:none,
645-
:auto,
646-
:circle,
647-
:rect,
648-
:diamond,
649-
:utriangle,
650-
:dtriangle,
651-
:cross,
652-
:xcross,
653-
:star5,
654-
:pentagon,
655-
:hline,
656-
:vline,
657-
] #vcat(_allMarkers, Shape)
658-
const _pgfplots_scale = [:identity, :ln, :log2, :log10]
659-
660559
# ------------------------------------------------------------------------------
661560
# plotlyjs
662561

0 commit comments

Comments
 (0)