Closed bahugunaashish closed 7 months ago
@sewkokot Looks like True
should be replaced with closed=True
on line 129 of fibsec.py: https://github.com/sewkokot/opsvis/blob/master/opsvis/fibsec.py#L129
@mhscott, @bahugunaashish Thank you for reporting this issue and finding the solution. It seems it matplotlib incompatible changes - in matplotlib v3.6 it worked. It is fixed now in the pip package.
I am getting the following error with the example provided at https://opsvis.readthedocs.io/en/latest/ex_plot_fiber_section.html could anyone help me out?
File ~.conda\envs\py39\lib\site-packages\opsvis\fibsec.py:129 in plot_fiber_section poly = Polygon(zy, True, ec='k', fc=matcolor[matTag-1])
TypeError: init() takes 2 positional arguments but 3 were given