Skip to content

Commit

Permalink
update script example on search engine
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Dec 6, 2017
1 parent c8767ff commit e8a7370
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _doc/examples/plot_rest_api_search_images.py
Expand Up @@ -81,7 +81,10 @@ def process_server(host, port):

from PIL import Image
img = Image.open(imgfile)
img.show()

import numpy
from matplotlib.pyplot import imshow
imshow(numpy.asarray(img))

############################
# Let's query the server.
Expand Down

0 comments on commit e8a7370

Please sign in to comment.