Skip to content

Commit

Permalink
import plot!, closes #771 (#3478)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch authored Dec 17, 2023
1 parent 479d293 commit 9d78db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/explanations/recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ As the second part of defining `MyPlot`, you should implement the actual
plotting of the `MyPlot` object by specializing `plot!`:

```julia
function plot!(myplot::MyPlot)
function Makie.plot!(myplot::MyPlot)
# normal plotting code, building on any previously defined recipes
# or atomic plotting operations, and adding to the combined `myplot`:
lines!(myplot, rand(10), color = myplot.plot_color)
Expand Down

0 comments on commit 9d78db2

Please sign in to comment.