From cfeb4e661fa50dcd95a84c61e2955b2c9fcd6234 Mon Sep 17 00:00:00 2001 From: SimonDanisch Date: Sat, 22 Jul 2023 12:04:47 +0200 Subject: [PATCH] fix CairoMakie --- CairoMakie/src/overrides.jl | 2 +- src/basic_recipes/axis.jl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CairoMakie/src/overrides.jl b/CairoMakie/src/overrides.jl index 605dbc671d5..9d300753cc3 100644 --- a/CairoMakie/src/overrides.jl +++ b/CairoMakie/src/overrides.jl @@ -9,7 +9,7 @@ complex and slower to draw than standard paths with single color. function draw_plot(scene::Scene, screen::Screen, poly::Poly) # dispatch on input arguments to poly to use smarter drawing methods than # meshes if possible - draw_poly(scene, screen, poly, to_value.(poly.input_args)...) + return draw_poly(scene, screen, poly, to_value.(poly.args)...) end # Override `is_cairomakie_atomic_plot` to allow `poly` to remain a unit, diff --git a/src/basic_recipes/axis.jl b/src/basic_recipes/axis.jl index 99134b5bf34..2066c50d375 100644 --- a/src/basic_recipes/axis.jl +++ b/src/basic_recipes/axis.jl @@ -316,7 +316,6 @@ function draw_axis3d(textbuffer, linebuffer, scale, limits, ranges_labels, fonts end return end -plot!(plot::Axis3D) = nothing function plot!(axis::Axis3D) scene = parent_scene(axis)