1
00:00:00,210 --> 00:00:06,420
One last thing that I want to show you is how you can really use a style sheet for your Jupyter notebooks

2
00:00:06,990 --> 00:00:13,530
because to be honest, I think opening this Jupyter notebook in this browser looks a bit ugly.

3
00:00:14,370 --> 00:00:20,700
So we have this a white background, which is quite bright and I don't really like it so much.

4
00:00:21,390 --> 00:00:27,780
But in the following of the course, I will, of course, continue just with the standard Jupyter notebook

5
00:00:27,780 --> 00:00:34,050
in the browser so that everyone can follow along and has the same visuals as I have.

6
00:00:34,440 --> 00:00:40,770
But if you don't like this style of the Jupyter notebook, I want to show you something.

7
00:00:41,550 --> 00:00:47,580
So I open up a file that I have prepared previously, which is called notebook, underscore style.

8
00:00:47,970 --> 00:00:48,960
So it doesn't really matter.

9
00:00:48,960 --> 00:00:54,420
You can just open up a new notebook by clicking here.

10
00:00:54,900 --> 00:00:56,640
New notebook.

11
00:00:57,870 --> 00:01:00,330
And here we are.

12
00:01:00,600 --> 00:01:09,630
And what I wrote there is two command pip space install space Jupiter themes, and this installs something

13
00:01:09,630 --> 00:01:10,770
called Jupiter themes.

14
00:01:11,550 --> 00:01:18,180
So you write this and then run it using Shift Enter, and then it is still running.

15
00:01:18,360 --> 00:01:25,230
Now it gives you the output, which basically says for me that it's already satisfied because of course,

16
00:01:25,230 --> 00:01:26,490
I have already installed it.

17
00:01:27,640 --> 00:01:36,870
Then you go here and add a new cell that clicking on the plus and you type pip install minus minus upgrade

18
00:01:36,880 --> 00:01:40,280
Jupiter themes, which updates the Jupiter themes.

19
00:01:40,290 --> 00:01:42,600
Maybe this is not necessary, but it's better to do it.

20
00:01:43,410 --> 00:01:49,260
So once again, it's tells me that all of this has been done already, and now we can use the actual

21
00:01:49,260 --> 00:01:57,000
commands of Jupiter themes by writing exclamation mark JT for Jupiter themes minus L.

22
00:01:57,150 --> 00:02:02,010
This is just a command which gives you all of the available themes that we can choose.

23
00:02:02,490 --> 00:02:07,310
And, for example, a theme that I like quite a lot is called Monarch.

24
00:02:08,009 --> 00:02:14,250
So I write exclamation mark j t minus T monarchy shift enter.

25
00:02:15,390 --> 00:02:18,930
And here's something that could happen to you as well.

26
00:02:19,410 --> 00:02:24,120
We have an error that we do not have the permission and to solve this error.

27
00:02:24,150 --> 00:02:29,580
What we have to do is we have to restart Anaconda and run it as an administrator.

28
00:02:30,570 --> 00:02:39,960
So I save this, I save this and then I just basically, yeah, we can just close it and maybe even

29
00:02:40,320 --> 00:02:40,830
close.

30
00:02:40,830 --> 00:02:44,010
The Anaconda Navigator quit.

31
00:02:45,170 --> 00:02:45,620
Yes.

32
00:02:47,090 --> 00:02:50,900
And now run it as an administrator.

33
00:02:58,340 --> 00:03:02,030
So let's wait again a few seconds until Anaconda started.

34
00:03:03,230 --> 00:03:07,970
So I'm just doing this because I want to show you that whenever you want to really install something

35
00:03:07,970 --> 00:03:11,840
and change something, you must run Anaconda as an administrator.

36
00:03:12,380 --> 00:03:15,950
However, if you're just writing some code and this is not necessary.

37
00:03:17,720 --> 00:03:20,030
OK, so here we are again.

38
00:03:20,240 --> 00:03:22,010
Let's sorry.

39
00:03:22,130 --> 00:03:24,050
That's run Jupyter Notebook.

40
00:03:27,470 --> 00:03:33,380
And you can see now it finally or it works already.

41
00:03:33,830 --> 00:03:36,920
So you see the style looks different, so it has worked.

42
00:03:37,370 --> 00:03:46,460
So let's open up again our notebook style and go here and you see how the style has changed.

43
00:03:46,460 --> 00:03:49,130
And this is because we have run JT one.

44
00:03:49,130 --> 00:03:52,070
Okay, and you see, this time it doesn't give us an error message.

45
00:03:52,820 --> 00:03:55,040
You can, of course, also choose another option.

46
00:03:55,040 --> 00:04:05,990
Like, I don't know, let's just test some of these or let's use the first one, just crash and to make

47
00:04:05,990 --> 00:04:06,470
it work.

48
00:04:06,590 --> 00:04:08,870
You click on refresh.

49
00:04:10,580 --> 00:04:12,890
And then you see, once again, a different style.

50
00:04:13,970 --> 00:04:19,240
So if you don't like all of these or you just want to have the same style as I have, you just right

51
00:04:19,490 --> 00:04:20,100
acclamation.

52
00:04:20,149 --> 00:04:20,810
Mark J.

53
00:04:20,810 --> 00:04:28,670
T minus are to restore the default and then you just reload and everything is back to normal.

54
00:04:29,840 --> 00:04:30,290
All right.

55
00:04:30,320 --> 00:04:36,500
So this was just something that I wanted to show you to prove to you that you can really change the

56
00:04:36,500 --> 00:04:39,950
visuals of this Jupyter notebook and also make it look more beautiful.

57
00:04:40,340 --> 00:04:43,180
But now we really go back to the initial style.

58
00:04:43,190 --> 00:04:47,240
And so in this way, it is most accessible for everybody.

59
00:04:48,710 --> 00:04:51,480
So here we can also reload this, OK?

60
00:04:51,500 --> 00:04:52,010
Here we are.

61
00:04:52,430 --> 00:04:58,190
And another thing that I want to show you is that, for example, you can click on running and then

62
00:04:58,190 --> 00:05:00,530
you see all of the files that are running.

63
00:05:01,310 --> 00:05:04,550
So currently we only have the notebook style file running.

64
00:05:05,090 --> 00:05:12,380
But for example, if I open up the old file, our first notebook and I run the whole kernel restart

65
00:05:12,380 --> 00:05:12,950
and run all.

66
00:05:16,290 --> 00:05:16,890
Then.

67
00:05:19,420 --> 00:05:26,320
We have now two notebooks running, and this is even true if I close this one and refresh.

68
00:05:27,460 --> 00:05:34,360
Still, both of them are running, which means I can now go here packed files and reopen them.

69
00:05:35,590 --> 00:05:36,820
And so they are still open.

70
00:05:37,720 --> 00:05:42,910
And if you want to close the file, so or better to say if you want to close the kernel, you can click

71
00:05:42,910 --> 00:05:49,990
here on shut down kernel or you just click on closed to whole browser and then everything is closed

72
00:05:50,140 --> 00:05:54,580
once you close or so Anaconda Navigator quit.

73
00:05:55,000 --> 00:05:57,280
Yes, and everything is closed.

74
00:05:58,570 --> 00:06:04,210
So this was a bit more information about Jupyter Notebook and in the next lectures, I want to explain

75
00:06:04,210 --> 00:06:13,660
to you a bit more about Pi Charm and some other text editor that you can use to write Python Code and

76
00:06:13,660 --> 00:06:16,720
also Jupyter notebooks in a more comfortable way.

