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

Skip to content

Commit 629d5af

Browse files
committed
test-publish updates for r and julia
1 parent 86a00a0 commit 629d5af

File tree

192 files changed

+1052
-191
lines changed

Some content is hidden

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

192 files changed

+1052
-191
lines changed

test-published/api-docs/chart-types/area/basic-area/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
trace1 = [
66
"x" => [1, 2, 3, 4],
77
"y" => [0, 2, 3, 5],

test-published/api-docs/chart-types/area/basic-area/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
trace1 <- list(
46
x = c(1, 2, 3, 4),
57
y = c(0, 2, 3, 5),

test-published/api-docs/chart-types/bar/bar-marker-array/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
data = [
66
[
77
"x" => [1, 2, 3, 4],

test-published/api-docs/chart-types/bar/bar-marker-array/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
data <- list(
46
list(
57
x = c(1, 2, 3, 4),

test-published/api-docs/chart-types/bar/bar-with-hover-text/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
data = [
66
[
77
"x" => ["Liam", "Sophie", "Jacob", "Mia", "William", "Olivia"],

test-published/api-docs/chart-types/bar/bar-with-hover-text/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
data <- list(
46
list(
57
x = c("Liam", "Sophie", "Jacob", "Mia", "William", "Olivia"),

test-published/api-docs/chart-types/bar/basic-bar/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
data = [
66
[
77
"x" => ["giraffes", "orangutans", "monkeys"],

test-published/api-docs/chart-types/bar/basic-bar/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
data <- list(
46
list(
57
x = c("giraffes", "orangutans", "monkeys"),

test-published/api-docs/chart-types/bar/grouped-bar/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
trace1 = [
66
"x" => ["giraffes", "orangutans", "monkeys"],
77
"y" => [20, 14, 23],

test-published/api-docs/chart-types/bar/grouped-bar/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
trace1 <- list(
46
x = c("giraffes", "orangutans", "monkeys"),
57
y = c(20, 14, 23),

test-published/api-docs/chart-types/bar/stacked-bar/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
trace1 = [
66
"x" => ["giraffes", "orangutans", "monkeys"],
77
"y" => [20, 14, 23],

test-published/api-docs/chart-types/bar/stacked-bar/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
trace1 <- list(
46
x = c("giraffes", "orangutans", "monkeys"),
57
y = c(20, 14, 23),

test-published/api-docs/chart-types/bar/style-bar/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
trace1 = [
66
"x" => [1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012],
77
"y" => [219, 146, 112, 127, 124, 180, 236, 207, 236, 263, 350, 430, 474, 526, 488, 537, 500, 439],

test-published/api-docs/chart-types/bar/style-bar/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
trace1 <- list(
46
x = c(1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012),
57
y = c(219, 146, 112, 127, 124, 180, 236, 207, 236, 263, 350, 430, 474, 526, 488, 537, 500, 439),

test-published/api-docs/chart-types/box/basic-box-plot/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import numpy as np
22
y0 = np.random.randn(50)
33
y1 = np.random.randn(50)+1
4+
using Plotly
45
{% if not username %}# Fill in with your personal username and API key
56
# or, use this public demo account
67
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
7-
Plotly.signin("TestBot", "r1neazxo9w")
88
trace1 = [
99
"y" => y0,
1010
"type" => "box"

test-published/api-docs/chart-types/box/basic-box-plot/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ import numpy as np
22
y0 = np.random.randn(50)
33
y1 = np.random.randn(50)+1
44
library(plotly)
5-
p <- plotly(username='TestBot', key='r1neazxo9w')
5+
{% if not username %}# Fill in with your personal username and API key
6+
# or, use this public demo account
7+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
68
trace1 <- list(
79
y = y0,
810
type = "box"

test-published/api-docs/chart-types/box/box-grouped/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
x = ['day 1', 'day 1', 'day 1', 'day 1', 'day 1', 'day 1',
22
'day 2', 'day 2', 'day 2', 'day 2', 'day 2', 'day 2']
3+
using Plotly
34
{% if not username %}# Fill in with your personal username and API key
45
# or, use this public demo account
56
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
6-
Plotly.signin("TestBot", "r1neazxo9w")
77
trace1 = [
88
"y" => [0.2, 0.2, 0.6, 1.0, 0.5, 0.4, 0.2, 0.7, 0.9, 0.1, 0.5, 0.3],
99
"x" => x,

test-published/api-docs/chart-types/box/box-grouped/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
x = ['day 1', 'day 1', 'day 1', 'day 1', 'day 1', 'day 1',
22
'day 2', 'day 2', 'day 2', 'day 2', 'day 2', 'day 2']
33
library(plotly)
4-
p <- plotly(username='TestBot', key='r1neazxo9w')
4+
{% if not username %}# Fill in with your personal username and API key
5+
# or, use this public demo account
6+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
57
trace1 <- list(
68
y = c(0.2, 0.2, 0.6, 1.0, 0.5, 0.4, 0.2, 0.7, 0.9, 0.1, 0.5, 0.3),
79
x = x,

test-published/api-docs/chart-types/box/box-plot-jitter/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
data = [
66
[
77
"y" => [0, 1, 1, 2, 3, 5, 8, 13, 21],

test-published/api-docs/chart-types/box/box-plot-jitter/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
data <- list(
46
list(
57
y = c(0, 1, 1, 2, 3, 5, 8, 13, 21),

test-published/api-docs/chart-types/bubble/bubblechart/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
trace1 = [
66
"x" => [1, 2, 3, 4],
77
"y" => [10, 11, 12, 13],

test-published/api-docs/chart-types/bubble/bubblechart/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
trace1 <- list(
46
x = c(1, 2, 3, 4),
57
y = c(10, 11, 12, 13),

test-published/api-docs/chart-types/contour/2dhistogram-contour-subplots/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import numpy as np
33
t = np.linspace(-1,1.2,2000)
44
x = (t**3)+(0.3*np.random.randn(2000))
55
y = (t**6)+(0.3*np.random.randn(2000))
6+
using Plotly
67
{% if not username %}# Fill in with your personal username and API key
78
# or, use this public demo account
89
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
9-
Plotly.signin("TestBot", "r1neazxo9w")
1010
trace1 = [
1111
"x" => x,
1212
"y" => y,

test-published/api-docs/chart-types/contour/2dhistogram-contour-subplots/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ t = np.linspace(-1,1.2,2000)
44
x = (t**3)+(0.3*np.random.randn(2000))
55
y = (t**6)+(0.3*np.random.randn(2000))
66
library(plotly)
7-
p <- plotly(username='TestBot', key='r1neazxo9w')
7+
{% if not username %}# Fill in with your personal username and API key
8+
# or, use this public demo account
9+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
810
trace1 <- list(
911
x = x,
1012
y = y,

test-published/api-docs/chart-types/contour/simple-contour/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ for i, xi in enumerate(x):
88
for j, yj in enumerate(y):
99
r2 = (xi**2+yj**2)
1010
z[i][j] = np.sin(xi)*np.cos(yj)*np.sin(r2)/(np.log(r2+1))
11+
using Plotly
1112
{% if not username %}# Fill in with your personal username and API key
1213
# or, use this public demo account
1314
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
14-
Plotly.signin("TestBot", "r1neazxo9w")
1515
data = [
1616
[
1717
"z" => z,

test-published/api-docs/chart-types/contour/simple-contour/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ for i, xi in enumerate(x):
99
r2 = (xi**2+yj**2)
1010
z[i][j] = np.sin(xi)*np.cos(yj)*np.sin(r2)/(np.log(r2+1))
1111
library(plotly)
12-
p <- plotly(username='TestBot', key='r1neazxo9w')
12+
{% if not username %}# Fill in with your personal username and API key
13+
# or, use this public demo account
14+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
1315
data <- list(
1416
list(
1517
z = z,

test-published/api-docs/chart-types/error-bar/basic-error-bar/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
data = [
66
[
77
"x" => [0, 1, 2],

test-published/api-docs/chart-types/error-bar/basic-error-bar/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
data <- list(
46
list(
57
x = c(0, 1, 2),

test-published/api-docs/chart-types/error-bar/error-bar-asymmetric-array/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
data = [
66
[
77
"x" => [1, 2, 3, 4],

test-published/api-docs/chart-types/error-bar/error-bar-asymmetric-array/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
data <- list(
46
list(
57
x = c(1, 2, 3, 4),

test-published/api-docs/chart-types/error-bar/error-bar-asymmetric-constant/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
data = [
66
[
77
"x" => [1, 2, 3, 4],

test-published/api-docs/chart-types/error-bar/error-bar-asymmetric-constant/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
data <- list(
46
list(
57
x = c(1, 2, 3, 4),

test-published/api-docs/chart-types/error-bar/error-bar-bar/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
trace1 = [
66
"x" => ["Trial 1", "Trial 2", "Trial 3"],
77
"y" => [3, 6, 4],

test-published/api-docs/chart-types/error-bar/error-bar-bar/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
trace1 <- list(
46
x = c("Trial 1", "Trial 2", "Trial 3"),
57
y = c(3, 6, 4),

test-published/api-docs/chart-types/error-bar/error-bar-horizontal/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
data = [
66
[
77
"x" => [1, 2, 3, 4],

test-published/api-docs/chart-types/error-bar/error-bar-horizontal/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
data <- list(
46
list(
57
x = c(1, 2, 3, 4),

test-published/api-docs/chart-types/error-bar/error-bar-style/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ x_theo = np.linspace(-4, 4, 100)
44
sincx = np.sinc(x_theo)
55
x = [-3.8, -3.03, -1.91, -1.46, -0.89, -0.24, -0.0, 0.41, 0.89, 1.01, 1.91, 2.28, 2.79, 3.56]
66
y = [-0.02, 0.04, -0.01, -0.27, 0.36, 0.75, 1.03, 0.65, 0.28, 0.02, -0.11, 0.16, 0.04, -0.15]
7+
using Plotly
78
{% if not username %}# Fill in with your personal username and API key
89
# or, use this public demo account
910
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
10-
Plotly.signin("TestBot", "r1neazxo9w")
1111
trace1 = [
1212
"x" => x_theo,
1313
"y" => sincx,

test-published/api-docs/chart-types/error-bar/error-bar-style/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ sincx = np.sinc(x_theo)
55
x = [-3.8, -3.03, -1.91, -1.46, -0.89, -0.24, -0.0, 0.41, 0.89, 1.01, 1.91, 2.28, 2.79, 3.56]
66
y = [-0.02, 0.04, -0.01, -0.27, 0.36, 0.75, 1.03, 0.65, 0.28, 0.02, -0.11, 0.16, 0.04, -0.15]
77
library(plotly)
8-
p <- plotly(username='TestBot', key='r1neazxo9w')
8+
{% if not username %}# Fill in with your personal username and API key
9+
# or, use this public demo account
10+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
911
trace1 <- list(
1012
x = x_theo,
1113
y = sincx,

test-published/api-docs/chart-types/error-bar/percent-error-bar/julia/code.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
using Plotly
12
{% if not username %}# Fill in with your personal username and API key
23
# or, use this public demo account
34
{% endif %}Plotly.signin({% if username %}"{{username}}"{% else %}"Julia-Demo-Account"{% endif %}, {% if api_key %}"{{api_key}}"{% else %}"hvkrsbg3uj"{% endif %})
4-
Plotly.signin("TestBot", "r1neazxo9w")
55
data = [
66
[
77
"x" => [0, 1, 2],

test-published/api-docs/chart-types/error-bar/percent-error-bar/r/code.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(plotly)
2-
p <- plotly(username='TestBot', key='r1neazxo9w')
2+
{% if not username %}# Fill in with your personal username and API key
3+
# or, use this public demo account
4+
{% endif %}py <- plotly(username={% if username %}"{{username}}"{% else %}'R-Demo-Account'{% endif %}, key={% if api_key %}"{{api_key}}"{% else %}'yu680v5eii'{% endif %})
35
data <- list(
46
list(
57
x = c(0, 1, 2),

0 commit comments

Comments
 (0)