andrewRowlinson / mplsoccer

Football pitch plotting library for matplotlib
MIT License
391 stars 80 forks source link

py_pizza lw=0 not working #71

Closed andrewRowlinson closed 1 year ago

andrewRowlinson commented 1 year ago

The docs are not building for py_pizza examples when some of the linewidth arguments are zero. For example:

https://github.com/andrewRowlinson/mplsoccer/blob/bce816c08e1a03747b1ac894e575697a7e6d2ab9/examples/pizza_plots/plot_pizza_colorful.py#L82

https://github.com/andrewRowlinson/mplsoccer/blob/bce816c08e1a03747b1ac894e575697a7e6d2ab9/mplsoccer/py_pizza.py#L316-L319

The docs error is: ValueError: At least one value in the dash list must be positive

This seems to be related to: https://github.com/matplotlib/matplotlib/issues/8821/