plot graph
if i want a transparent graph what all should we do to get a transparent background graph directly is their a solution. 

Python-3.4.3 Embellishing-a-plot 05-06 min 30-40 sec 07-04-21, 5:48 p.m. Masteranmol

Answers:

Use transparent=True

import matplotlib.pyplot as plt
fig = plt.figure()
plt.plot(range(10))
fig.savefig('temp.png', transparent=True)

29-04-21, 3:50 p.m. ankitrj.iitb


Click here to reply/comment online