Matplotlib Tutorial 3 – Axes labels, Legend, Grid




[ad_1]

This matplotlib tutorial covers how to show axes labels, legend and grid on a 2D plot.

Topics that are covered in this Video:
0:00 Intriduction
1:50 Set axes lable in Matplotlib xlable(), ylable() and title()
2:25 Create Legend

Code link: https://github.com/codebasics/py/blob/master/matpltlib/3_legends_grid_axes_labels/3_legends_grid_axes_labels.ipynb

Populor Playlist:
Data Science Full Course: https://www.youtube.com/playlist?list=PLeo1K3hjS3us_ELKYSj_Fth2tIEkdKXvV

Data Science Project: https://www.youtube.com/watch?v=rdfbcdP75KI&list=PLeo1K3hjS3uu7clOTtwsp94PcHbzqpAdg

Machine learning tutorials: https://www.youtube.com/watch?v=gmvvaobm7eQ&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw

Pandas: https://www.youtube.com/watch?v=CmorAWRsCAw&list=PLeo1K3hjS3uuASpe-1LjfG5f14Bnozjwy

matplotlib: https://www.youtube.com/watch?v=qqwf4Vuj8oM&list=PLeo1K3hjS3uu4Lr8_kro2AqaO6CFYgKOl

Python: https://www.youtube.com/playlist?list=PLeo1K3hjS3uv5U-Lmlnucd7gqF-3ehIh0

Jupyter Notebook: https://www.youtube.com/watch?v=q_BzsPxwLOE&list=PLeo1K3hjS3uuZPwzACannnFSn9qHn8to8

Next Video:
Matplotlib Tutorial 4 – Bar Chart: https://www.youtube.com/watch?v=iedmZlFxjfA&list=PLeo1K3hjS3uu4Lr8_kro2AqaO6CFYgKOl&index=4

Website: http://codebasicshub.com/
Facebook: https://www.facebook.com/codebasicshub
Twitter: https://twitter.com/codebasicshub

Source


[ad_2]

Comment List

  • codebasics
    November 24, 2020

    Best tutorial

  • codebasics
    November 24, 2020

    Excellent. Thankyou Sir.

  • codebasics
    November 24, 2020

    Excellently explained in a very simple way.

  • codebasics
    November 24, 2020

    Nice informative tutorial with poor contents visuals. Think when a person watch it on mobile and you are showing it on one sixth of screen.

  • codebasics
    November 24, 2020

    how can we plot if y-axis numbers are very big like in billions? (without matplotlib auto-scaling to 1,2,3?

  • codebasics
    November 24, 2020

    %matplotlib inline – May I know the purpose of this in a bit clear way.

  • codebasics
    November 24, 2020

    thanks simple and good explanation

  • codebasics
    November 24, 2020

    may i know how to hide the x label?

  • codebasics
    November 24, 2020

    Nice

  • codebasics
    November 24, 2020

    please add a video where you can display plot values in the graph

  • codebasics
    November 24, 2020

    Sir how to remove gridlines in an image

  • codebasics
    November 24, 2020

    It would be nicer if you added grid shapes, plot background colour, how to get ride of issues with plt.style.use(['dark_background']) otherwise straightforward thank you!

  • codebasics
    November 24, 2020

    Brother , how could i Sewer design/profile design (with slop or gradient) easily with Matplotlib in python ? If any vid pl give the link . Thanks.

  • codebasics
    November 24, 2020

    how to increase the plot size

  • codebasics
    November 24, 2020

    Thanks for your videos

  • codebasics
    November 24, 2020

    Good

  • codebasics
    November 24, 2020

    This is a great playlist.

  • codebasics
    November 24, 2020

    OK sir tell me one thing what I HV to know to become a junior data Scientist ???
    Plzz tell me sir …
    I know Python and it's 3 library that u HV taught . What I HV to know more to become a junior data Scientist ???

  • codebasics
    November 24, 2020

    Sir I HV no account in Git Hub . So can u give me ur email id . So that I can send u the entire code and sir I HV to ask something about data science . So plz …
    My email id Is – 1670008@kiit.ac.in
    Sir plz responds by this …
    Plz

  • codebasics
    November 24, 2020

    Sir, why this ""string object is not called " error is arising again and again

    TypeError Traceback (most recent call last)

    <ipython-input-72-5e1ab9263a92> in <module>()

    1 plt.title('weather')

    —-> 2 plt.xlabel("Day")

    3 plt.ylabel("tempereture")

    4 plt.plot(day,max_t)

    5 plt.plot(day,min_t)

    TypeError: 'str' object is not callable

  • codebasics
    November 24, 2020

    Hi. When I try to write plt.xlabel("Days"), I'm getting error message as TypeError: 'str' object is not callable. What about this?

  • codebasics
    November 24, 2020

    Sir if I want to calculate the slope of the graph can I do that in matplotlib. If yes then how can I calculate the slope.

  • codebasics
    November 24, 2020

    Great Tutorial sir, Thanks

  • codebasics
    November 24, 2020

    thank you sir,

  • codebasics
    November 24, 2020

    Simply great. Thanks.

  • codebasics
    November 24, 2020

    great demo.

  • codebasics
    November 24, 2020

    excellent thanks_:)

  • codebasics
    November 24, 2020

    Kindly upload faster

Write a comment