Skip to content

Easier figure support (Plots and Makie) #16

@matthijscox-asml

Description

@matthijscox-asml

We're still thinking about easier figure support.

Right now you'd have to

  • load your favorite plotting package, let's assume either Plots.jl or Makie.jl.
  • Then make a plot
  • Find and use the savefig() function of your favorite plotting package.
  • Wrap the saved figure path into a Picture() type and add it to a Slide.

Ideally this is simplified into:

fig = plot(1:5,1:5)
pic = Picture(fig)

Or even just push the figure into a Slide directly.

Most difficult technical challenge is that we ideally want to avoid including Plots and Makie as a dependency. These are rather large dependencies that we do not want to force onto the user, as some will not want to include figures into their generated slide decks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions