Removing the title or legend
Title
Question
Dear Sir/ Madam,
What is the command to remove "Title" or "Legend" from a plot, from an existing plot itself?
Thank you
Python-3.4.3 Multiple-plots 10-11 min 20-30 sec
Answers:
You can set the title to an empty string
plot.title('')
For legend you can remove it using the remove function:
plot.get_legend().remove()
Login to add comment