Answers for "matplotlib figure size not working"

0

matplotlib figure size not working

# One option and probably the best/most standard way, is to put the plt.figure before the plt.bar

import matplotlib.pyplot as plt

plt.figure(figsize=(20,10)) 
plt.bar(x['user'], x['number'], color="blue")
Posted by: Guest on July-17-2021

Python Answers by Framework

Browse Popular Code Answers by Language