-
Notifications
You must be signed in to change notification settings - Fork 53
sphinx gallery #509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sphinx gallery #509
Changes from 8 commits
22e1c85
71c1eaf
c8eb15d
e97f37b
5e0d08c
1acbbfb
372e466
b4dbc94
0fc05dd
2856365
dacc382
985eb2e
79b6e7f
9c447de
c92e5b7
676a481
09acb24
f749ef3
59ec3fb
d0852f4
7efad6b
16c712c
98d5280
ff3f429
1fba2c4
3ff1982
26d85e4
ea298dc
950d4b4
64aaca7
27c90aa
ee2d8f1
0e199ea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
clewis7 marked this conversation as resolved.
Show resolved
Hide resolved
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Examples that use fastplotlib | ||
============================= |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
GridPlot Examples | ||
================= |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
""" | ||
GridPlot Simple | ||
============ | ||
=============== | ||
|
||
Example showing simple 2x2 GridPlot with Standard images from imageio. | ||
""" | ||
|
||
# test_example = true | ||
# sphinx_gallery_pygfx_docs = 'screenshot' | ||
|
||
import fastplotlib as fpl | ||
import imageio.v3 as iio | ||
|
||
|
||
fig = fpl.Figure(shape=(2, 2)) | ||
|
||
im = iio.imread("imageio:clock.png") | ||
|
@@ -22,6 +23,9 @@ | |
fig[1, 0].add_image(data=im3) | ||
fig[1, 1].add_image(data=im4) | ||
|
||
# set canvas variable for sphinx_gallery to properly generate examples | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. specifiy that this line isn't required for users, or see if there's a way for the in all examples There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think perhaps we can use
So I will try that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tried changing There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think for now, we should just to |
||
canvas = fig.canvas | ||
|
||
fig.show() | ||
|
||
fig.canvas.set_logical_size(800, 800) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Heatmap Examples | ||
================ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Image Examples | ||
============== |
Uh oh!
There was an error while loading. Please reload this page.