Skip to content

Commit 7935ed9

Browse files
committed
Fixing bug in graphics documentation
1 parent 17e9179 commit 7935ed9

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

arrayfire/graphics.py

+22-22
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ def image(self, img, title=None):
127127
"""
128128
Display an arrayfire array as an image.
129129
130-
Paramters
131-
---------
130+
Parameters
131+
----------
132132
133133
img: af.Array.
134134
A 2 dimensional array for single channel image.
@@ -144,8 +144,8 @@ def scatter(self, X, Y, Z=None, points=None, marker=MARKER.POINT, title=None):
144144
"""
145145
Renders input arrays as 2D or 3D scatter plot.
146146
147-
Paramters
148-
---------
147+
Parameters
148+
----------
149149
150150
X: af.Array.
151151
A 1 dimensional array containing X co-ordinates.
@@ -183,8 +183,8 @@ def scatter2(self, points, marker=MARKER.POINT, title=None):
183183
"""
184184
Renders the input array as a 2D Scatter plot.
185185
186-
Paramters
187-
---------
186+
Parameters
187+
----------
188188
189189
points: af.Array.
190190
A 2 dimensional array containing (X,Y) co-ordinates.
@@ -204,8 +204,8 @@ def scatter3(self, points, marker=MARKER.POINT, title=None):
204204
"""
205205
Renders the input array as a 3D Scatter plot.
206206
207-
Paramters
208-
---------
207+
Parameters
208+
----------
209209
210210
points: af.Array.
211211
A 2 dimensional array containing (X,Y,Z) co-ordinates.
@@ -224,8 +224,8 @@ def plot(self, X, Y, Z=None, line = None, title=None):
224224
"""
225225
Display a 2D or 3D Plot.
226226
227-
Paramters
228-
---------
227+
Parameters
228+
----------
229229
230230
X: af.Array.
231231
- A 1 dimensional array containing X co-ordinates.
@@ -264,8 +264,8 @@ def plot2(self, line, title=None):
264264
"""
265265
Display a 2D Plot.
266266
267-
Paramters
268-
---------
267+
Parameters
268+
----------
269269
270270
line: af.Array.
271271
- A 2 dimensional array of size [n 2]. Each column denotes X, and Y co-ordinates for plotting 2D lines.
@@ -283,8 +283,8 @@ def plot3(self, X=None, Y=None, Z=None, line=None, title=None):
283283
"""
284284
Display a 3D Plot.
285285
286-
Paramters
287-
---------
286+
Parameters
287+
----------
288288
289289
line: af.Array.
290290
- A 3 dimensional array of size [n 3]. Each column denotes X, Y, and Z co-ordinates for plotting 3D lines.
@@ -302,8 +302,8 @@ def vector_field(self, xpoints, xdirs, ypoints, ydirs, zpoints=None, zdirs=None,
302302
"""
303303
Display a 2D or 3D Vector_Field.
304304
305-
Paramters
306-
---------
305+
Parameters
306+
----------
307307
308308
xpoints : af.Array.
309309
- A 1 dimensional array containing X co-ordinates.
@@ -364,8 +364,8 @@ def surface(self, x_vals, y_vals, z_vals, title=None):
364364
"""
365365
Renders the input array as a 3D surface plot.
366366
367-
Paramters
368-
---------
367+
Parameters
368+
----------
369369
370370
x_vals: af.Array.
371371
A 1 dimensional array containing X co-ordinates.
@@ -388,8 +388,8 @@ def hist(self, X, min_val, max_val, title=None):
388388
"""
389389
Display a histogram Plot.
390390
391-
Paramters
392-
---------
391+
Parameters
392+
----------
393393
394394
X: af.Array.
395395
A 1 dimensional array containing the histogram.
@@ -454,8 +454,8 @@ def set_axes_limits(self, xmin, xmax, ymin, ymax, zmin=None, zmax=None, exact=Fa
454454
"""
455455
Set axis limits.
456456
457-
Paramters
458-
---------
457+
Parameters
458+
----------
459459
460460
xmin : af.Array.
461461
- lower limit of the x axis.

0 commit comments

Comments
 (0)