Skip to content

Commit

Permalink
#7405: fix image example
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroslawmalekcodete committed May 24, 2018
1 parent 8a3ffce commit 6350f86
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/groovy/Mime.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@
"metadata": {},
"outputs": [],
"source": [
"%classpath add mvn com.google.guava guava 23.0\n",
"\n",
"import java.io.File;\n",
"import com.google.common.io.ByteStreams;\n",
"import com.google.common.io.Files;\n",
Expand All @@ -188,6 +190,13 @@
"def bytes = Files.toByteArray(imgFile);\n",
"Image(bytes)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 6350f86

Please sign in to comment.