Skip to content

Instantly share code, notes, and snippets.

@akirayou
Created August 19, 2020 19:51
Show Gist options
  • Save akirayou/7afb7f46e88f79a5dfa67963fefdc5c6 to your computer and use it in GitHub Desktop.
Save akirayou/7afb7f46e88f79a5dfa67963fefdc5c6 to your computer and use it in GitHub Desktop.
from IPython.display import HTML,display
if(True):
display(HTML("""
<style>
.jp-RenderedImage Img {
width: auto;
height: 100px;
}
.jp-RenderedImage {
width: auto;
height: 110px;
}
.jp-OutputArea Img:hover {
width: auto;
height: 80vmin;
position: fixed;
top: 10vh;
z-index:100;
}
.jp-RenderedText{
max-height: 20vh;
}
</style>
"""))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment