Asked
Active
Viewed 109 times
0
-
May i ask you why that is important to you? To your question: What IDE do you use? – Florian H Oct 11 '18 at 11:41
-
@FlorianH maybe he wants a screenshot to put on a blog or school report. – Aditya Oct 11 '18 at 11:55
-
Seems like what you want can be achieved with IPython console configuration (https://stackoverflow.com/questions/49888173/python-jupyter-notebook-print-dataframe-borders) or probably may be achieved with pandas styling (https://pandas.pydata.org/pandas-docs/stable/style.html). – Oct 11 '18 at 12:18
-
1@Aditya I think OP wants to revert the "new" style to the "old" one. See the original question. – Jan Trienes Oct 11 '18 at 12:30
-
@JanTrienes how do I access the edit history? – Aditya Oct 11 '18 at 12:42
-
Press ["edited X mins ago"](https://stackoverflow.com/posts/52759094/revisions). – Jan Trienes Oct 11 '18 at 12:43
-
1Oh yes you were right. Thanks. Will edit now. – Aditya Oct 11 '18 at 12:44
1 Answers
1
The default styling has been changed in Jupyter PR #1776.
If you want to return to the old styling, you can redefine the CSS within your Jupyter notebook or adjust the custom.css
.
The following looks close to the old style.
%%html
<style>
table, th, td {
border: 1px solid black !important;
background-color: #ffffff;
}
</style>

Jan Trienes
- 2,501
- 1
- 16
- 28