Answers for "matplotlib size showing"

33

increase figure size in matplotlib

plt.figure(figsize=(20,10))
Posted by: Guest on March-31-2020
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