Closed Makogan closed 3 years ago
I think this class: https://github.com/mjg/PyX/blob/ea656fc3771004e5c88a60aabdbdf0a66452bfe1/pyx/style.py#L162
Could benefit from implementing equality comparisons.
Example use case, if style == linestyle.dashed: set_linewidth(0.001)
if style == linestyle.dashed: set_linewidth(0.001)
I think this class: https://github.com/mjg/PyX/blob/ea656fc3771004e5c88a60aabdbdf0a66452bfe1/pyx/style.py#L162
Could benefit from implementing equality comparisons.
Example use case,
if style == linestyle.dashed: set_linewidth(0.001)