Commit 71425b68 authored by Remi Perenon's avatar Remi Perenon

Solving yaxis scale issue

parent 9e17e9d0
......@@ -403,11 +403,11 @@ class Plotter1D(wx.Panel):
elif scaleStr == 'symlog':
self.figure.gca().set_yscale('symlog')
elif scaleStr == 'ln':
self.figure.gca().set_yscale('log', basex=numpy.exp(1))
self.figure.gca().set_yscale('log', basey=numpy.exp(1))
elif scaleStr == 'log 10':
self.figure.gca().set_yscale('log', basex=10)
self.figure.gca().set_yscale('log', basey=10)
elif scaleStr == 'log 2':
self.figure.gca().set_yscale('log', basex=2)
self.figure.gca().set_yscale('log', basey=2)
self.on_auto_fit()
self.figure.canvas.draw()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment