Skip to content

Commit f6b13ff

Browse files
committed
fix font problem in Harker
1 parent f367d9a commit f6b13ff

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

geopytool/CustomClass.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
version="0.9.21.0.008"
1+
version="0.9.21.0.009"
22

33
date = '2021-10-14'
44

5-
dpi = 128
5+
dpi = 64
66
# coding:utf-8
77

88
from ImportDependence import *

geopytool/Harker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def Check(self,df=pd.DataFrame()):
118118
def create_main_frame(self):
119119
self.resize(800, 1000)
120120
self.main_frame = QWidget()
121-
self.dpi = 128
121+
self.dpi = 64
122122
self.fig ,self.axes= plt.subplots(4, 2,figsize=(15, 20),dpi=self.dpi)
123123
self.fig.subplots_adjust(hspace=0.2, wspace=0.4,left=0.1, bottom=0.2, right=0.7, top=0.95)
124124
self.canvas = FigureCanvas(self.fig)

geopytool/HarkerDIY.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def create_main_frame(self):
129129
self.resize(800, 800)
130130

131131
self.main_frame = QWidget()
132-
self.dpi = 128
132+
self.dpi = 64
133133
self.fig = Figure((8.0, 8.0), dpi=self.dpi)
134134

135135
self.fig.subplots_adjust(hspace=0.5, wspace=0.5, left=0.3, bottom=0.3, right=0.7, top=0.9)

geopytool/HarkerOld.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def Check(self):
113113
def create_main_frame(self):
114114
self.resize(800, 1000)
115115
self.main_frame = QWidget()
116-
self.dpi = 128
116+
self.dpi = 64
117117
self.fig ,self.axes= plt.subplots(4, 2,figsize=(15, 20),dpi=self.dpi)
118118
self.fig.subplots_adjust(hspace=0.2, wspace=0.4,left=0.1, bottom=0.2, right=0.7, top=0.95)
119119
self.canvas = FigureCanvas(self.fig)

geopytool/ImportDependence.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133

134134
ttfFontProp = ttfFontProperty(font)
135135
fontprop = font_manager.FontProperties(family='sans-serif',
136-
size=9,
136+
size=4,
137137
fname=ttfFontProp.fname,
138138
stretch=ttfFontProp.stretch,
139139
style=ttfFontProp.style,

0 commit comments

Comments
 (0)