Articles → Matplotlib → Markeredgewidth Attribute In Matplotlib

Markeredgewidth Attribute In Matplotlib






Purpose





Example


import matplotlib.pyplot as plt
import array 


arr1 = array.array('i', [1, 2, 3])
arr2 = array.array('i', [4, 5, 6])

plt.plot(arr1,arr2, marker="o", markersize=20, markerfacecolor="red", markeredgecolor = "blue" , markeredgewidth=5)

plt.show()



Output


Picture showing the output of markeredgewidth attribute in matplotlib



Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, June 19, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250