Git Product home page Git Product logo

Comments (4)

asinghvi17 avatar asinghvi17 commented on July 17, 2024

I don't think MakieGallery was intended to be used in the REPL :)...you could, of course, poke around in the source code, but I think the best way to replicate examples would be to look at the latest docs. If you put in using Makie before each one, and ignore the 'record' bits at the end of the interactive examples, you should be able to replicate the examples. The docs are generated from MakieGallery.

from makiegallery.jl.

perrinmeyer avatar perrinmeyer commented on July 17, 2024

thanks, I don't feel quite so stupid now....

from makiegallery.jl.

SimonDanisch avatar SimonDanisch commented on July 17, 2024

It was actually intended to be used in the repl :D Just never documented and polished it (so still no need to feel stupid^^)
You can use it like this:

julia> using MakieGallery
julia> database = MakieGallery.load_database();
julia> database[1].title # can be used e.g. for filter(x-> x.title == "...", database)
"Tutorial simple scatter"
julia> database[1] # pretty printing :) 
...
 x = rand(10)
 y = rand(10)
 colors = rand(10)
 scene = scatter(x, y, color = colors)
...
julia> using Makie
julia> MakieGallery.eval_example(database[1]) # run it!

from makiegallery.jl.

asinghvi17 avatar asinghvi17 commented on July 17, 2024

Fixed by #29, functionality added in #33 as well.

from makiegallery.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.