Skip to content

Commit 117a46f

Browse files
committed
move module to top, fix inline comment
1 parent 34c0c86 commit 117a46f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/diffpy/pdfgui/gui/extendedplotframe.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
import os.path
2121

2222
import matplotlib
23-
24-
matplotlib.use("WXAgg")
2523
import wx
2624
from matplotlib.artist import setp
2725
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
@@ -32,6 +30,8 @@
3230
from diffpy.pdfgui.gui.pdfguiglobals import iconpath
3331
from diffpy.pdfgui.gui.wxextensions import wx12
3432

33+
matplotlib.use("WXAgg")
34+
3535
DATA_SAVE_ID = wx12.NewIdRef()
3636

3737

@@ -303,7 +303,7 @@ def __translateStyles(self, style):
303303
symbolSize = style["symbolSize"]
304304
symbolColor = colorDict.get(style["symbolColor"], "k")
305305
properties.update(
306-
{ #'linewidth':0.0, # doesn't affect any
306+
{ # 'linewidth':0.0, # doesn't affect any
307307
"markerfacecolor": symbolColor,
308308
"markeredgecolor": color,
309309
"marker": symbol,

0 commit comments

Comments
 (0)