This is an automated email from the ASF dual-hosted git repository. rkk pushed a commit to branch tmp-stv in repository https://gitbox.apache.org/repos/asf/sdap-nexus.git
commit 5d53279e5c47e12ac39826f4f2b1f4ca8f9b3f0e Author: rileykk <[email protected]> AuthorDate: Fri Nov 10 12:25:53 2023 -0800 bugfix --- analysis/webservice/algorithms/Tomogram.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/analysis/webservice/algorithms/Tomogram.py b/analysis/webservice/algorithms/Tomogram.py index efc224e..266e5a9 100644 --- a/analysis/webservice/algorithms/Tomogram.py +++ b/analysis/webservice/algorithms/Tomogram.py @@ -569,8 +569,6 @@ class ElevationTomoResults(NexusResults): ylabels = [f'{lats[int(t)]:.4f}' if int(t) in range(len(lats)) else '' for t in yticks] plt.yticks(yticks, ylabels, ) - plt.ticklabel_format(useOffset=False) - buffer = BytesIO() logger.info('Writing plot to buffer') @@ -607,6 +605,8 @@ class ProfileTomoResults(NexusResults): plt.xlabel(xlabel) plt.ylabel('Height Relative to WGS84 ellipsoid (m)') + plt.ticklabel_format(useOffset=False) + buffer = BytesIO() logger.info('Writing plot to buffer')
