Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #matplotlib #figure #size #working
ADD COMMENT
Topic
Name
9+9 =