mplstereonet
mplstereonet copied to clipboard
Stereonets for matplotlib
There is an error related to numpy that has removed the attribute 'float'. Probably just substituting for np.float64 suffice. /usr/local/lib/python3.8/dist-packages/mplstereonet/stereonet_axes.py in plane(self, strike, dip, *args, **kwargs) 423 segments = kwargs.pop('segments',...
I think it should be `.sum()` not `.mean()` on this line: https://github.com/joferkington/mplstereonet/blob/master/mplstereonet/contouring.py#L18 According to the documentation, you want to make the weights sum to 1.
In contouring.py I believe line 39 totals[i] = (density.sum() - 0.5) / scale should be totals[i] = density.sum() / scale https://github.com/vollmerf/spherecontour/blob/main/ERRATA.md Regards
Address a deprecation warning for the `Axes.cla` method, which was added in matplotlib version 3.6. This is a very minor change, where instances of `.cla` have been changed to `.clear`....
When bidirectional = True, the shading of the cone is inverted where it crosses the stereonet boundary. This error can be reproduced by using the example script with slight modification,...
The line "sec_zone_present = len(split_polys) == 2" attempts to count geometry collections but the len function is not supported. The documentation recommends changing it to "sec_zone_present = (split_polys.length) == 2".
Thank you very much for your work! I encountered some issues while calculating the strike from a plane's normal vector. In the world coordinate system used in your work, does...