Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

matplotlib plot title font size

from matplotlib import pyplot as plt    

fig = plt.figure()
plt.plot(data)
fig.suptitle('test title', fontsize=20)
plt.xlabel('xlabel', fontsize=18)
plt.ylabel('ylabel', fontsize=16)
fig.savefig('test.jpg')
Comment

PREVIOUS NEXT
Code Example
Python :: Beautifulsoup - How to open images and download them 
Python :: How to scale a pandas dataframe 
Python :: python regex group 
Python :: python how to keep turtle window open 
Python :: python ssh into server 
Python :: python open file from explorer 
Python :: python anagram finder 
Python :: tkinter slider 
Python :: df to csv 
Python :: split column by comma pandas 
Python :: label point matplotlib 
Python :: matplotlib show grid for log or logit 
Python :: how to make python turn a list into a text file grapper 
Python :: find max length in string in pandas dataframe 
Python :: read a file in python 
Python :: readlines from file python 
Python :: python pynput space 
Python :: change the frequency to column in pandas 
Python :: how to mention a div with class in xpath 
Python :: check integer number python 
Python :: python iterate set 
Python :: python parcourir un dictionnaire 
Python :: python line_profiler 
Python :: how to open a website using python 
Python :: count dictionary keys 
Python :: installation of uvicorn with only pure python dependencies 
Python :: django orm sum 
Python :: discord.py get channel id by channel name 
Python :: how to remove all 2 in a list python 
Python :: debug mode: on flask pythin window 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =