Skip to content

Commit

Permalink
Fix examples not displaying figures (scikit-image#3040)
Browse files Browse the repository at this point in the history
* Display the Frangi filter example figure
* Display the plot_coins_segmentation example figure
* Display the plot_geometric example figure
* Display the plot_morphology example figures
* Display the plot_rank_filters example figure
  • Loading branch information
cgohlke authored and stefanv committed May 1, 2018
1 parent b02e2ce commit 16d3fd0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/examples/filters/plot_frangi.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@
a.axis('off')

plt.tight_layout()
plt.show()
2 changes: 2 additions & 0 deletions doc/examples/xx_applications/plot_coins_segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,5 @@
a.axis('off')

plt.tight_layout()

plt.show()
2 changes: 2 additions & 0 deletions doc/examples/xx_applications/plot_geometric.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,5 @@
a.axis('off')

plt.tight_layout()

plt.show()
2 changes: 2 additions & 0 deletions doc/examples/xx_applications/plot_morphology.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,3 +240,5 @@ def plot_comparison(original, filtered, filter_name):
# /ImageProcessing-html/topic4.htm>`_
#
# 3. http://en.wikipedia.org/wiki/Mathematical_morphology

plt.show()
2 changes: 2 additions & 0 deletions doc/examples/xx_applications/plot_rank_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,3 +677,5 @@ def ndi_med(image, n):
ax.set_xlabel('Image size')

plt.tight_layout()

plt.show()

0 comments on commit 16d3fd0

Please sign in to comment.