Matplotlib Tutorial 10 - basic customizations, rotating labels

preview_player
Показать описание
In this Matplotlib tutorial, we're going to be talking about some of the possible customizations to graphs. In order to start modifying the subplots, we have to define them. We will talk about them soon, but there are two major ways to define subplots, and to structure them. For now, we'll just use one of them, but we will be explaining them shortly.

Рекомендации по теме
Комментарии
Автор

can you explain the tutorial 8 &9 in different way ?

ashiqueakramtarique
Автор

What is the purpose of making the 'fig' variable in this tutorial?

nimazsheik
Автор

Awesome!!!! Its fun to follow your code and get the same results, even as a total beginner :-)

Banchuba
Автор

Maybe a question, if there would be no matplotlib, how would you solve the way to paint the dots and lines on the screen? Is it possible or only much more complicated? And are this addons coded in python too, or this are other languages?

Banchuba
Автор

I like your tutorial so much! Easy to follow man! Hope you stay with us for longer!

awaraamin
Автор

Better solution for rotation is just:
plt.xticks(rotation=45)

ElderLT
Автор

Rapaz, Incrivel, me ajudou MUITO, obrigado

fellipevianavaz
Автор

Sentdex, how about explicitly using subplot(). Have a look:

plt.subplot(311)
plt.plot([1, 2, 3], [2, 4, 6], 'o']

plt.subplot(312)
plt.plot(range(12))

plt.subplot(313)
plt.plot([1, 2, 3], [2, 4, 6], 'D']

plt.show()

It seems a lot easier to follow, but let me know if I am missing a point or something. Your tutorials are very helpful since I am a novice.

Question: Why do you use figure()? Even the documentation on MATPLOTLIB is very vague.

vhoramuiz
Автор

Is there a way to automatically change the subplot adjust? I wrote a program to draw an ellipse if you input the verticies. While it works, when it is horizontal, it looks correct, but when it is vertical, it still looks horizontal even when the vertical values are bigger than the horizontal values. I can adjust the subplots manually to make it look correct, but I would prefer it to happen automatically.

mitchellfolbe
Автор

Really appreciate all of these vids man! Got a quick question about customizing the numbers on the Y axis, I'm working on one of your other series for fundamental investing and all of the digits convert to decimals with an exponent. Is there a way to get matplotlib to show the entire number instead of the exponential form?

loganbass
Автор

I know you can save it as a .png file. Is there a way to save it as some time of interactive file where the user can run their mouse over the graph to see the coordinates?

nickt
Автор

Hi, I plot in matlab below:

figure1 = figure('Color', [1 1 0]);
axes1 = axes('position', [0.1 0.1 0.1 0.5])

how to write in python?

syaifulalam
Автор

Can someone please explain the use of figure() here. The code works fine without that too

deadshot
Автор

Oh my god that line size 5 was so uncomfortable, I need some unsee juice now XD

anshshrivastava
Автор

It's good, but if take other example(data) ..

balipavankalyan
Автор

Can you give me a google api for another stock company

niteshgupta
Автор

This my by wrongheaded hairsplitting. I think this video title should be "Matplotlib Tutorial 10 - Basic customizations, rotating labels".

kamilziemian
Автор

you lost me real fast on these matplotlib tutorials... gotta check out other channels now....

CryptoRootz
Автор

These wheels came off this series of tutorials when the last lesson's API was changed but the code was not. I am giving up at this point and stopping watching this series. Nothing personal but the tutorial is a mess from the last video on....

pb