Skip to content

Commit dddfd7d

Browse files
authored
Add files via upload
1 parent 2d91272 commit dddfd7d

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

pr1.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ def c(self,y_):
9292
def f(self):
9393
"""
9494
Fit function
95-
:param y_: init method
96-
:type y_: init method
95+
:param y_:
96+
:type y_:
9797
9898
:return:
9999
:rtype:
@@ -172,18 +172,20 @@ def create_tuple(self):
172172
def create_dict(self):
173173
"""Creates a dictionary
174174
:return:
175-
:rtype:
175+
:rtype: dict
176176
"""
177177
self.dict = {}
178178

179179
return self.dict
180180

181181

182182

183-
def results(self):
184-
fig=plt.figure(figsize=(14,14))
185-
a1=fig.add_subplot(211)
183+
def res(self):
184+
185+
f=plt.figure(figsize=(10,10))
186+
q=f.add_subplot(211)
186187

187-
plt.title('minimisation of errors across the iterations')
188-
a1.plot(self.h)
188+
plt.title("error minimisation for a number of iterations")
189+
190+
q.plot(self.h)
189191

0 commit comments

Comments
 (0)