Skip to content

Docs: use Makie.Figure() instead of Makie.plot() for an empty canvas #994

Open

Description

@ocots

CTModels removes the zero-argument Makie.plot(; kwargs...) (type piracy: it redefined Makie.plot() for every session loading Makie and CTModels), see control-toolbox/CTModels.jl#466.

In the "Plot with Makie" section of docs/src/results/plot.md, replace

f = plot(; size=(800, 800))
plot!(f, sol)

by

f = Makie.Figure(; size=(800, 800))
plot!(f, sol)

This applies from the next CTModels release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions