Skip to content

Commit 96271f1

Browse files
jgreweachilleas-k
authored andcommitted
[docs] replace images, adapt text where necessary
1 parent 11cc8e6 commit 96271f1

8 files changed

+5
-5
lines changed

docs/source/examples/imageWithMetadata.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def plot_data(data_array):
6969
if docutils.is_running_under_pytest():
7070
plt.close()
7171
else:
72-
fig.savefig('image_with_metadata.png')
72+
fig.savefig('../images/image_with_metadata.png')
7373
fig.show()
7474

7575

docs/source/examples/multipleROIs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def plot_data(tag):
5353
if docutils.is_running_under_pytest():
5454
plt.close()
5555
else:
56-
# plt.savefig("../images/multiple_rois.png")
56+
plt.savefig("../images/multiple_rois.png")
5757
plt.show()
5858

5959

@@ -71,7 +71,7 @@ def plot_roi_data(tag):
7171
if docutils.is_running_under_pytest():
7272
plt.close()
7373
else:
74-
# fig.savefig('../images/retrieved_rois.png')
74+
fig.savefig('../images/retrieved_rois.png')
7575
plt.show()
7676

7777

docs/source/examples/singleROI.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def plot_data(tag):
4545
draw_rect(img_data, pos, ext)
4646
new_img = img.fromarray(img_data)
4747
if not docutils.is_running_under_pytest():
48-
# new_img.save("../images/single_roi.png")
48+
new_img.save("../images/single_roi.png")
4949
new_img.show()
5050

5151

docs/source/image_data.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ attribution in the code.
1616

1717
.. literalinclude:: examples/imageData.py
1818
:lines: 59-64
19-
:caption: Image data is just 3-D data that can be easily stored in a *DataArray*. We need to add three dimension descriptors, though (to run the example you need the :download:`example code <examples/imageData.py>` , the :download:`image <examples/lenna.png>` *imagemagick* or *xv* packages).
19+
:caption: Image data is just 3-D data that can be easily stored in a *DataArray*. We need to add three dimension descriptors, though (to run the example you need the :download:`example code <examples/imageData.py>` , the :download:`image <examples/boats.png>` *imagemagick* or *xv* packages).
2020

2121
.. image:: examples/lenna.png
2222
:alt: lenna
110 KB
Loading

docs/source/images/multiple_rois.png

-137 KB
Loading

docs/source/images/retrieved_rois.png

84 KB
Loading

docs/source/images/single_roi.png

-75.2 KB
Loading

0 commit comments

Comments
 (0)