Commit d45aff7c by devttys0

Disabled pyqtgraph autoranging on generated entropy graphs

parent a0c46694
...@@ -244,6 +244,10 @@ class Entropy(Module): ...@@ -244,6 +244,10 @@ class Entropy(Module):
plt = pg.plot(title=fname, clear=True) plt = pg.plot(title=fname, clear=True)
# Disable auto-ranging, as it can cause some very un-intuitive graphs,
# particularly for files with only high-entropy data.
plt.disableAutoRange()
if self.show_legend and has_key(self.file_markers, fname): if self.show_legend and has_key(self.file_markers, fname):
plt.addLegend(size=(self.max_description_length*10, 0)) plt.addLegend(size=(self.max_description_length*10, 0))
......
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