Skip to content

Commit

Permalink
Merge pull request #133 from jtpio/fix-example-from-file
Browse files Browse the repository at this point in the history
Use Image.from_file instead of Image.from_url in the example
  • Loading branch information
martinRenou committed Jun 2, 2019
2 parents 65b7f28 + 45438d8 commit da86c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/widget_cell.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"source": [
"sheet = ipysheet.sheet()\n",
"\n",
"column1 = ipysheet.column(0, [Image.from_url('./image.png') for _ in range(5)], style={'min-width': '60px', 'min-height': '50px'})\n",
"column1 = ipysheet.column(0, [Image.from_file('./image.png') for _ in range(5)], style={'min-width': '60px', 'min-height': '50px'})\n",
"column2 = ipysheet.column(1, [1.] * 5)\n",
"\n",
"sheet"
Expand Down

0 comments on commit da86c61

Please sign in to comment.