Comments (4)
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.
thanks, I don't feel quite so stupid now....
from makiegallery.jl.
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.
Fixed by #29, functionality added in #33 as well.
from makiegallery.jl.
Related Issues (20)
- AbstractPlotting.logo() is not a valid function name. HOT 1
- The `@substep` macro is not documented in examples but not found on the docs HOT 3
- Add example where a line or part of a plot is popped out or deleted HOT 3
- Add a heavier emphasis on the display() function. HOT 1
- Add a section about text fonts. HOT 2
- More clear docs on how to add something to the Example Gallery HOT 6
- Using VisualRegressionTests.jl for tests? HOT 1
- Saving path for `embed_media` goes wonky when `record_examples(".")` HOT 4
- Vbox and Hbox ASCII examples don't show properly HOT 2
- Unclear how to change the default size of a makie window HOT 4
- Unclear how to use the "ticks" attribute. HOT 1
- [Documentation] What keyboard buttons are available? HOT 3
- several pages need updating HOT 1
- document how to preserve fontsize of text HOT 1
- gotchas thread HOT 2
- refimage download fails on abstractplotting HOT 1
- Top-level code is not parsed? HOT 4
- Various warnings and error running tests on Mac Catalina HOT 15
- Transition to the v6 Gitlab template HOT 1
- Docs showing "live loop" to record animation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from makiegallery.jl.