We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ab1009 commit 5f2d110Copy full SHA for 5f2d110
1 file changed
src/logplot/plot.py
@@ -1,8 +1,9 @@
1
from collections import defaultdict, OrderedDict
2
import os
3
+import pkg_resources
4
+import shlex
5
import subprocess
6
import sys
-import shlex
7
8
import matplotlib.pyplot as plt
9
from matplotlib.lines import Line2D
@@ -108,6 +109,8 @@ def _add_naming(self):
108
109
self._fig.suptitle(self._conf.general.plot_title)
110
plt.xlabel(self._conf.general.y_axis_name)
111
plt.ylabel(self._conf.general.x_axis_name)
112
+ version = pkg_resources.get_distribution("logplot").version
113
+ plt.gcf().canvas.set_window_title("logplot {}".format(version))
114
115
def _click_callback(self, event):
116
if event.artist in self._legend_mapping: # click in legend
0 commit comments