Looking closely, you can see that the top two lines are made up of rounded dashes. Y6 = x*5 # Plot lines with different dash cap styles Import matplotlib.pyplot as plt # Prepare 6 lines The cap of dashes can be rounded by setting the dash_capstyle parameter if we want to create a softer image such as in promotion: import numpy as np
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |