Skip to content

Commit

Permalink
Fix #1209
Browse files Browse the repository at this point in the history
  • Loading branch information
lassepe committed Nov 2, 2021
1 parent c3bfb04 commit cc50016
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions MakieCore/src/recipes.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
not_implemented_for(x) = error("Not implemented for $(x). You might want to put: `using Makie` into your code!")

to_func_name(x::Symbol) = Symbol(lowercase(string(x)))
# Fallback for Combined ...
# Will get overloaded by recipe Macro
Expand Down
3 changes: 2 additions & 1 deletion src/Makie.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ using MakieCore: Heatmap, Image, Lines, LineSegments, Mesh, MeshScatter, Scatter
using MakieCore: ConversionTrait, NoConversion, PointBased, SurfaceLike, ContinuousSurface, DiscreteSurface, VolumeLike
using MakieCore: Key, @key_str, Automatic, automatic, @recipe
using MakieCore: Pixel, px, Unit, Billboard
import MakieCore: plot, plot!, theme, plotfunc, plottype, merge_attributes!, calculated_attributes!, get_attribute, plotsym, plotkey, attributes, used_attributes
import MakieCore: plot, plot!, theme, plotfunc, plottype, merge_attributes!, calculated_attributes!,
get_attribute, plotsym, plotkey, attributes, used_attributes, not_implemented_for
import MakieCore: heatmap, image, lines, linesegments, mesh, meshscatter, scatter, surface, text, volume
import MakieCore: heatmap!, image!, lines!, linesegments!, mesh!, meshscatter!, scatter!, surface!, text!, volume!
import MakieCore: convert_arguments, convert_attribute, default_theme, conversion_trait
Expand Down
2 changes: 0 additions & 2 deletions src/interfaces.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
not_implemented_for(x) = error("Not implemented for $(x). You might want to put: `using Makie` into your code!")

function default_theme(scene)
Attributes(
# color = theme(scene, :color),
Expand Down

0 comments on commit cc50016

Please sign in to comment.