Update matplotlib.md

pull/727/head
Harshita Jain 2024-05-31 13:00:40 +05:30 zatwierdzone przez GitHub
rodzic 5a38c658b9
commit 57c369bd0e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 9 dodań i 4 usunięć

Wyświetl plik

@ -41,9 +41,10 @@ plt.tight_layout()
plt.show()
```
![img](scatterplot.png)
![scatterplot](https://github.com/Harshita297/learn-python/assets/122027571/aa57eb31-4377-4f75-9a97-e4fa7a54a938)
### 3.] Bar plot
Bar plot is a type of plot that plots the frequency distrubution of the categorical variables. Each entity of the categoric variable is represented as a bar. The size of the bar represents its numeric value.
@ -60,7 +61,8 @@ plt.ylabel("Y values")
plt.show()
```
![img](barplot.png)
![barplot](https://github.com/Harshita297/learn-python/assets/122027571/00cea3cd-a962-4bfe-b158-921389ee564c)
### 4.] Histogram
@ -77,8 +79,11 @@ plt.ylabel("Frequency Distribution")
plt.show()
```
![img](histogram.png)
![histogram](https://github.com/Harshita297/learn-python/assets/122027571/32470819-bac5-4bb2-9f36-79521fa40bf3)