Created
January 6, 2017 21:47
-
-
Save micaleel/965d1672a58af2fcd469d8a24024cb29 to your computer and use it in GitHub Desktop.
Centering Plots in Jupyter Notebook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.core.display import HTML | |
HTML(""" | |
<style> | |
{ | |
display: table-cell; | |
text-align: center; | |
.output_png vertical-align: middle; | |
} | |
</style> | |
""") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment