Updated the scatterplot function in visualization.py to not use the dataset.scale variable, that has been depricated in PR #19 . For scaling the plot for different types of input data, values from the QUIVERSCALES dictionary is used instead. Note that this has only been tested with convection data, but I hope it works for the other data types as well.
Also an option to specify perimiter width is added, so that the user can select data at various regions with respect to the secs grid, in the same way as is done inside run_inversion(). Note that similar to run_inversion(), calling this function with perimiter_width can delete data in the model.data object.
Updated the scatterplot function in visualization.py to not use the dataset.scale variable, that has been depricated in PR #19 . For scaling the plot for different types of input data, values from the QUIVERSCALES dictionary is used instead. Note that this has only been tested with convection data, but I hope it works for the other data types as well.
Also an option to specify perimiter width is added, so that the user can select data at various regions with respect to the secs grid, in the same way as is done inside run_inversion(). Note that similar to run_inversion(), calling this function with perimiter_width can delete data in the model.data object.