Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bf3f98f

Browse files
committed
run/publish (test).
1 parent cda6afa commit bf3f98f

File tree

154 files changed

+308
-308
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+308
-308
lines changed

auto-docs/chart-types/area/matlab-basic-area/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
y = [1, 5, 3;
55
3, 2, 7;

auto-docs/chart-types/area/mpl-basic-area/matplotlib/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import matplotlib.pyplot as plt
22
import plotly.plotly as py
3-
# Learn about API authentication here: https://plot.ly/python/getting-started
4-
# Find your api_key here: https://plot.ly/settings/api
3+
# Learn about API authentication here: {BASE_URL}/python/getting-started
4+
# Find your api_key here: {BASE_URL}/settings/api
55

66
fig, ax = plt.subplots()
77
ax.plot([2,1,3,1,2])

auto-docs/chart-types/area/mpl-multi-fill/matplotlib/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import numpy as np
22
import matplotlib.pyplot as plt
33
import plotly.plotly as py
4-
# Learn about API authentication here: https://plot.ly/python/getting-started
5-
# Find your api_key here: https://plot.ly/settings/api
4+
# Learn about API authentication here: {BASE_URL}/python/getting-started
5+
# Find your api_key here: {BASE_URL}/settings/api
66

77
x = np.linspace(0, 2*np.pi, 100)
88
fig, ax = plt.subplots()

auto-docs/chart-types/area/mpl-stacked-line/matplotlib/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import numpy as np
22
import matplotlib.pyplot as plt
33
import plotly.plotly as py
4-
# Learn about API authentication here: https://plot.ly/python/getting-started
5-
# Find your api_key here: https://plot.ly/settings/api
4+
# Learn about API authentication here: {BASE_URL}/python/getting-started
5+
# Find your api_key here: {BASE_URL}/settings/api
66

77
# create our stacked data manually
88
y0 = np.random.rand(100)

auto-docs/chart-types/bar/gg-basic-bar/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(plotly)
22

3-
# Learn about API authentication here: https://plot.ly/r/getting-started
4-
# Find your api_key here: https://plot.ly/settings/api
3+
# Learn about API authentication here: {BASE_URL}/r/getting-started
4+
# Find your api_key here: {BASE_URL}/settings/api
55

66
# Consider the following data frame
77
researchers <- data.frame(

auto-docs/chart-types/bar/matlab-basic-bar/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
x = 1900:10:2000;
55
y = [75.995,91.972,105.711,123.203,131.669,...

auto-docs/chart-types/bar/matlab-grouped-bar/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
Y = [1.0 0.5 0.7
55
2.0 1.5 2.0

auto-docs/chart-types/bar/matlab-overlaid-bar/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
%bins
55
x = 1900:10:2000;

auto-docs/chart-types/bar/matlab-stacked-bar/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
% Create data for childhood disease cases
55
measles = [38556 24472 14556 18060 19549 8122 28541 7880 3283 4135 7953 1884]';

auto-docs/chart-types/bar/matlab-style-bar/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
%bins
55
x = 1900:10:2000;

auto-docs/chart-types/bar/mpl-basic-bar/matplotlib/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import matplotlib.pyplot as plt
22

33
import plotly.plotly as py
4-
# Learn about API authentication here: https://plot.ly/python/getting-started
5-
# Find your api_key here: https://plot.ly/settings/api
4+
# Learn about API authentication here: {BASE_URL}/python/getting-started
5+
# Find your api_key here: {BASE_URL}/settings/api
66

77
y = [3, 10, 7, 5, 3, 4.5, 6, 8.1]
88
N = len(y)

auto-docs/chart-types/box/matlab-basic-box-plot/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
% some random points
55
data1 = normrnd(5,1,100,1);

auto-docs/chart-types/bubble/matlab-bubble-chart/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
x = 80 * randn(1, 30);
55
y = 80 * randn(size(x));

auto-docs/chart-types/bubble/mpl-7d-bubble/matplotlib/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import matplotlib.pyplot as plt
22
import numpy as np
33
import plotly.plotly as py
4-
# Learn about API authentication here: https://plot.ly/python/getting-started
5-
# Find your api_key here: https://plot.ly/settings/api
4+
# Learn about API authentication here: {BASE_URL}/python/getting-started
5+
# Find your api_key here: {BASE_URL}/settings/api
66

77
n = 50
88
x, y, z, s, ew = np.random.rand(5, n)

auto-docs/chart-types/bubble/mpl-bubble-colormap/matplotlib/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import matplotlib.pyplot as plt
22
import numpy as np
33
import plotly.plotly as py
44

5-
# Learn about API authentication here: https://plot.ly/python/getting-started
6-
# Find your api_key here: https://plot.ly/settings/api
5+
# Learn about API authentication here: {BASE_URL}/python/getting-started
6+
# Find your api_key here: {BASE_URL}/settings/api
77

88
# decay and frequency for position and signal
99
w1 = 4.

auto-docs/chart-types/contour/matlab-contour-subplots/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
%
55
[X,Y,Z] = peaks;

auto-docs/chart-types/contour/matlab-meshgrid-contour/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
x = linspace(-2*pi,2*pi);
55
y = linspace(0,4*pi);

auto-docs/chart-types/contour/matlab-simple-contour/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
[X,Y,Z] = peaks;
55
contour(X,Y,Z,20)

auto-docs/chart-types/error-bar/matlab-symmetric-error-bars/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
x = 0:pi/10:pi;
55
y = sin(x);

auto-docs/chart-types/facets/facet_wrap/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
library(plotly)
22
require(lattice)
33

4-
# Learn about API authentication here: https://plot.ly/r/getting-started
5-
# Find your api_key here: https://plot.ly/settings/api
4+
# Learn about API authentication here: {BASE_URL}/r/getting-started
5+
# Find your api_key here: {BASE_URL}/settings/api
66

77
w <- ggplot(data=barley, aes(x=yield, y=variety, color=year)) +
88
geom_point() +

auto-docs/chart-types/functions/x-squared/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(plotly)
22

3-
# Learn about API authentication here: https://plot.ly/r/getting-started
4-
# Find your api_key here: https://plot.ly/settings/api
3+
# Learn about API authentication here: {BASE_URL}/r/getting-started
4+
# Find your api_key here: {BASE_URL}/settings/api
55

66
eq <- function(x) {x*x}
77
tmp <- data.frame(x=1:50, y=eq(1:50))

auto-docs/chart-types/geom_polygon/geom_polygon_1/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(plotly)
22

3-
# Learn about API authentication here: https://plot.ly/r/getting-started
4-
# Find your api_key here: https://plot.ly/settings/api
3+
# Learn about API authentication here: {BASE_URL}/r/getting-started
4+
# Find your api_key here: {BASE_URL}/settings/api
55

66
ids <- factor(c("1.1", "2.1", "1.2", "2.2", "1.3", "2.3"))
77

auto-docs/chart-types/gg-themes/few/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
library(plotly)
22
library("ggthemes")
33

4-
# Learn about API authentication here: https://plot.ly/r/getting-started
5-
# Find your api_key here: https://plot.ly/settings/api
4+
# Learn about API authentication here: {BASE_URL}/r/getting-started
5+
# Find your api_key here: {BASE_URL}/settings/api
66

77
dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
88
few <- (qplot(carat, price, data = dsamp, colour = cut) +

auto-docs/chart-types/gg-themes/igray/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
library(plotly)
22
library("ggthemes")
33

4-
# Learn about API authentication here: https://plot.ly/r/getting-started
5-
# Find your api_key here: https://plot.ly/settings/api
4+
# Learn about API authentication here: {BASE_URL}/r/getting-started
5+
# Find your api_key here: {BASE_URL}/settings/api
66

77
dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
88
gray <- (qplot(carat, price, data = dsamp, colour = cut) +

auto-docs/chart-types/gg-themes/tableau/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
library(plotly)
22
library("ggthemes")
33

4-
# Learn about API authentication here: https://plot.ly/r/getting-started
5-
# Find your api_key here: https://plot.ly/settings/api
4+
# Learn about API authentication here: {BASE_URL}/r/getting-started
5+
# Find your api_key here: {BASE_URL}/settings/api
66

77
dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
88
tableau <- (qplot(carat, price, data = dsamp, colour = cut) +

auto-docs/chart-types/heatmap/matlab-basic-heatmap/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
size = 50;
55
z = zeros(size, size);

auto-docs/chart-types/histogram/geom_histogram/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(plotly)
22

3-
# Learn about API authentication here: https://plot.ly/r/getting-started
4-
# Find your api_key here: https://plot.ly/settings/api
3+
# Learn about API authentication here: {BASE_URL}/r/getting-started
4+
# Find your api_key here: {BASE_URL}/settings/api
55

66
m <- ggplot(movies, aes(x=rating))
77
out <- py$ggplotly(m + geom_histogram(aes(weight = votes)))

auto-docs/chart-types/histogram/matlab-basic-histogram/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
% some random points
55
x = normrnd(5,1,100,1);

auto-docs/chart-types/histogram/matlab-horizontal-histogram/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
% horizontal histogram
55
sd = 0.1;

auto-docs/chart-types/histogram/matlab-overlaid-histogram/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
% overlaid histogram
55
sd1 = 0.1;

auto-docs/chart-types/histogram/matlab-stacked-histogram/matlab/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
% Learn about API authentication here: https://plot.ly/matlab/getting-started
2-
% Find your api_key here: https://plot.ly/settings/api
1+
% Learn about API authentication here: {BASE_URL}/matlab/getting-started
2+
% Find your api_key here: {BASE_URL}/settings/api
33

44
% stacked histogram
55
sd1 = 0.1;

auto-docs/chart-types/histogram/mpl-basic-histogram/matplotlib/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import matplotlib.pyplot as plt
22
import numpy as np
33

44
import plotly.plotly as py
5-
# Learn about API authentication here: https://plot.ly/python/getting-started
6-
# Find your api_key here: https://plot.ly/settings/api
5+
# Learn about API authentication here: {BASE_URL}/python/getting-started
6+
# Find your api_key here: {BASE_URL}/settings/api
77

88
gaussian_numbers = np.random.randn(1000)
99
plt.hist(gaussian_numbers)

auto-docs/chart-types/line_and_scatter/gg-alpha/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(plotly)
22

3-
# Learn about API authentication here: https://plot.ly/r/getting-started
4-
# Find your api_key here: https://plot.ly/settings/api
3+
# Learn about API authentication here: {BASE_URL}/r/getting-started
4+
# Find your api_key here: {BASE_URL}/settings/api
55

66
prettyPlot <- ggplot(data=diamonds, aes(x=carat, y=price, colour=clarity))
77
prettyPlot <- prettyPlot + geom_point(alpha = 1/10)

auto-docs/chart-types/line_and_scatter/gg-basic-line/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(plotly)
22

3-
# Learn about API authentication here: https://plot.ly/r/getting-started
4-
# Find your api_key here: https://plot.ly/settings/api
3+
# Learn about API authentication here: {BASE_URL}/r/getting-started
4+
# Find your api_key here: {BASE_URL}/settings/api
55

66
orange <- qplot(
77
age,

auto-docs/chart-types/line_and_scatter/gg-basic-scatter/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(plotly)
22

3-
# Learn about API authentication here: https://plot.ly/r/getting-started
4-
# Find your api_key here: https://plot.ly/settings/api
3+
# Learn about API authentication here: {BASE_URL}/r/getting-started
4+
# Find your api_key here: {BASE_URL}/settings/api
55

66
ggiris <- qplot(Petal.Width, Sepal.Length, data = iris, color = Species)
77

auto-docs/chart-types/line_and_scatter/gg-geom_line/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
library(plotly)
22
library(plyr)
33

4-
# Learn about API authentication here: https://plot.ly/r/getting-started
5-
# Find your api_key here: https://plot.ly/settings/api
4+
# Learn about API authentication here: {BASE_URL}/r/getting-started
5+
# Find your api_key here: {BASE_URL}/settings/api
66

77
mry <- do.call(rbind, by(movies, round(movies$rating), function(df) {
88
nums <- tapply(df$length, df$year, length)

auto-docs/chart-types/line_and_scatter/gg-geom_path/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
library(plotly)
22
library(plyr)
33

4-
# Learn about API authentication here: https://plot.ly/r/getting-started
5-
# Find your api_key here: https://plot.ly/settings/api
4+
# Learn about API authentication here: {BASE_URL}/r/getting-started
5+
# Find your api_key here: {BASE_URL}/settings/api
66

77
myear <- ddply(movies, .(year), colwise(mean, .(length, rating)))
88
p <- ggplot(myear, aes(length, rating))

auto-docs/chart-types/line_and_scatter/gg-geom_point/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(plotly)
22

3-
# Learn about API authentication here: https://plot.ly/r/getting-started
4-
# Find your api_key here: https://plot.ly/settings/api
3+
# Learn about API authentication here: {BASE_URL}/r/getting-started
4+
# Find your api_key here: {BASE_URL}/settings/api
55

66
p <- ggplot(mtcars, aes(wt, mpg))
77
out <- py$ggplotly(p + geom_point(aes(colour = factor(cyl))))

auto-docs/chart-types/line_and_scatter/gg-geom_segment/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(plotly)
22

3-
# Learn about API authentication here: https://plot.ly/r/getting-started
4-
# Find your api_key here: https://plot.ly/settings/api
3+
# Learn about API authentication here: {BASE_URL}/r/getting-started
4+
# Find your api_key here: {BASE_URL}/settings/api
55

66
p <- ggplot(seals, aes(x = long, y = lat))
77

auto-docs/chart-types/line_and_scatter/gg-line-scatter/ggplot2/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(plotly)
22

3-
# Learn about API authentication here: https://plot.ly/r/getting-started
4-
# Find your api_key here: https://plot.ly/settings/api
3+
# Learn about API authentication here: {BASE_URL}/r/getting-started
4+
# Find your api_key here: {BASE_URL}/settings/api
55

66
model <- lm(mpg ~ wt + factor(cyl), data=mtcars)
77
grid <- with(mtcars, expand.grid(

auto-docs/chart-types/line_and_scatter/mpl-line-scatter/matplotlib/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import matplotlib.pyplot as plt
22

33
import plotly.plotly as py
4-
# Learn about API authentication here: https://plot.ly/python/getting-started
5-
# Find your api_key here: https://plot.ly/settings/api
4+
# Learn about API authentication here: {BASE_URL}/python/getting-started
5+
# Find your api_key here: {BASE_URL}/settings/api
66

77
x = [1,2,3,4]
88
y = [3,4,8,6]

auto-docs/chart-types/line_and_scatter/mpl-line-style/matplotlib/code.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import matplotlib.pyplot as plt
22
import numpy as np
33

44
import plotly.plotly as py
5-
# Learn about API authentication here: https://plot.ly/python/getting-started
6-
# Find your api_key here: https://plot.ly/settings/api
5+
# Learn about API authentication here: {BASE_URL}/python/getting-started
6+
# Find your api_key here: {BASE_URL}/settings/api
77

88
# evenly sampled time at 200ms intervals
99
t = np.arange(0., 5., 0.2)

0 commit comments

Comments
 (0)