djpugh / MTfit

MTfit code for Bayesian Moment Tensor Fitting
76 stars 16 forks source link

hudson plot gridlines off #63

Open gisofer opened 4 years ago

gisofer commented 4 years ago

Please fill in the following details as much as possible when submitting your issue as this will help with testing and reproducing the issue

Environment Information

use (print(MTfit.get_details_json())) in a python terminal (or MTfit --details from the command line) { "version": "1.0.5", "c_extensions present": [ "cprobability", "cmoment_tensor_conversion" ], "platform": "win32", "num_threads": 12, "python version": "3.7.3 (default, Mar 27 2019, 17:13:21) [MSC v.1915 64 bit (AMD64)]", "python version info": [ 3, 7, 3, "final", 0 ], "dependency info": { "numpy": "1.16.2", "scipy": "1.2.1", "matplotlib": "3.1.1", "cython": "0.29.6", "sphinx": "1.8.5", "h5py": "2.9.0" }, "windows version": [ 10, 0, 17134, 2, "" ] }

What error you are getting

two gridlines on hudson plot are off Capture

What behaviour you would expect

all gridlines in their correct place

Reproduction steps

What do we need to do to reproduce the issue? MTfit.plot.MTplot(np.array([[1],[0],[-1],[0],[0],[0]]),'hudson',text=True)

djpugh commented 4 years ago

Thanks @gisofer - will have a look - the hufson plot gridlines were correct last time I tested this, but there's been quite a few library bumps since then!