kopia lustrzana https://github.com/animator/learn-python
Update matplotlib.md
rodzic
5a38c658b9
commit
57c369bd0e
|
@ -41,9 +41,10 @@ plt.tight_layout()
|
|||
plt.show()
|
||||
```
|
||||
|
||||

|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
### 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()
|
||||
```
|
||||

|
||||

|
||||
|
||||
|
||||
|
||||
### 4.] Histogram
|
||||
|
@ -77,8 +79,11 @@ plt.ylabel("Frequency Distribution")
|
|||
|
||||
plt.show()
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue