diff --git a/examples/gallery/3d_plots/scatter3d.py b/examples/gallery/3d_plots/scatter3d.py index 04037b87092..36839f3365a 100644 --- a/examples/gallery/3d_plots/scatter3d.py +++ b/examples/gallery/3d_plots/scatter3d.py @@ -24,7 +24,7 @@ # Use pygmt.info to get region bounds (xmin, xmax, ymin, ymax, zmin, zmax) # The below example will return a numpy array [0.0, 3.0, 4.0, 8.0, 1.0, 7.0] region = pygmt.info( - table=df[["petal_width", "sepal_length", "petal_length"]], # x, y, z columns + data=df[["petal_width", "sepal_length", "petal_length"]], # x, y, z columns per_column=True, # report the min/max values per column as a numpy array # round the min/max values of the first three columns to the nearest # multiple of 1, 2 and 0.5, respectively diff --git a/examples/gallery/histograms/histogram.py b/examples/gallery/histograms/histogram.py index 207a38180f5..ea89f2e737e 100644 --- a/examples/gallery/histograms/histogram.py +++ b/examples/gallery/histograms/histogram.py @@ -20,7 +20,7 @@ fig = pygmt.Figure() fig.histogram( - table=data, + data=data, # define the frame, add title and set background color to # lightgray, add annotations for x and y axis frame=['WSne+t"Histogram"+glightgray', 'x+l"Elevation (m)"', 'y+l"Counts"'], diff --git a/examples/gallery/symbols/points_categorical.py b/examples/gallery/symbols/points_categorical.py index a9a4ff35dde..38340bbf089 100644 --- a/examples/gallery/symbols/points_categorical.py +++ b/examples/gallery/symbols/points_categorical.py @@ -21,7 +21,7 @@ # Use pygmt.info to get region bounds (xmin, xmax, ymin, ymax) # The below example will return a numpy array like [30.0, 60.0, 12.0, 22.0] region = pygmt.info( - table=df[["bill_length_mm", "bill_depth_mm"]], # x and y columns + data=df[["bill_length_mm", "bill_depth_mm"]], # x and y columns per_column=True, # report the min/max values per column as a numpy array # round the min/max values of the first two columns to the nearest multiple # of 3 and 2, respectively diff --git a/examples/tutorials/date_time_charts.py b/examples/tutorials/date_time_charts.py index 994ef45f4e3..31e40c32585 100644 --- a/examples/tutorials/date_time_charts.py +++ b/examples/tutorials/date_time_charts.py @@ -257,7 +257,7 @@ fig = pygmt.Figure() region = pygmt.info( - table=df[["Date", "Score"]], per_column=True, spacing=(700, 700), coltypes="T" + data=df[["Date", "Score"]], per_column=True, spacing=(700, 700), coltypes="T" ) fig.plot(