Created
November 2, 2022 14:40
-
-
Save audhiaprilliant/76131eea87923c26efd63dd8d393507b to your computer and use it in GitHub Desktop.
Matplotlib 101 - Basic Introduction for Python Beginner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ---------- 1st ITERATION - CREATE A BASIC BAR PLOT ---------- | |
| # Figure size | |
| fig = plt.figure(figsize = (10, 4.8)) | |
| # Bar plot | |
| plt.bar( | |
| x = 'PaymentMethod', | |
| height = 'customerID', | |
| data = df_group_1, | |
| color = '#981220' | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment