diff --git a/DisplayWindow.py b/DisplayWindow.py
index 81c72a790b2c0b6bfc1742e9f210dd8c438d1f61..8a6f34afc6d43ef262dc62b5b7a4179d34aa3b72 100644
--- a/DisplayWindow.py
+++ b/DisplayWindow.py
@@ -255,7 +255,7 @@ class Advanced(QMainWindow):
         self.scatt.axes.set_xlabel(self.graph_selector_X.currentText())
         self.scatt.axes.set_ylabel(self.graph_selector_Y.currentText())
         self.histogram.axes.set_xlabel(self.graph_selector_X.currentText())
-        self.histogram.axes.set_xlabel("frequency")
+        self.histogram.axes.set_ylabel("frequency")
 
         self.scatt.draw()
         self.histogram.draw()