Skip to content

Commit ac42701

Browse files
committed
Merge branch 'master' of https://github.com/plotly/plotly.py into bump_pjs_1290
2 parents a5976f4 + 8479300 commit ac42701

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

contributing.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Open an issue! Go to https://github.com/plotly/plotly.py/issues. It's possible t
1212

1313
## Have Questions about Plotly?
1414

15-
Check out our Support App: https://support.plot.ly/libraries/python or Community Forum: https://community.plot.ly/.
15+
Check out our Support App: https://support.plot.ly/libraries/python or Community Forum: https://community.plot.ly/.
1616

1717
## Setup
1818

@@ -194,6 +194,8 @@ You're *strongly* encouraged to write tests that check your added functionality.
194194

195195
When you write a new test anywhere under the `tests` directory, if your PR gets accepted, that test will run in a virtual machine to ensure that future changes don't break your contributions!
196196

197+
Test accounts include: `PythonTest`, `PlotlyImageTest`, and `PlotlyStageTest`.
198+
197199
#### Publishing to Pip
198200

199201
You'll need the credentials file `~/.pypirc`. Request access from @theengineear and @chriddyp. Then, from inside the repository:

plotly/tests/test_core/temp-plot.html

-1
This file was deleted.

plotly/tests/test_core/test_offline/test_offline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def setUp(self):
110110
super(PlotlyOfflineOtherDomainTestCase, self).setUp()
111111
plotly.tools.set_config_file(plotly_domain='https://stage.plot.ly',
112112
plotly_api_domain='https://api-stage.plot.ly')
113-
plotly.plotly.sign_in('PlotlyTestShark', 'YVsAvsGcGVxw11ct6Dff')
113+
plotly.plotly.sign_in('PlotlyStageTest', 'rs3GA48WfFKUX4JpVL07')
114114

115115
def test_plot_rendered_if_non_plotly_domain(self):
116116
html = plotly.offline.plot(fig, output_type='div')

specs/gridspec.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -100,24 +100,24 @@ py.file_ops.delete(file_path=None, fid=None, url=None)
100100
### Appearance and Access
101101

102102
```python
103-
>> print Column([1,2,3], 'column 1')
103+
>> print(Column([1,2,3], 'column 1'))
104104
<Column "column 1": [1, 2, 3]>
105105
```
106106

107107
```python
108-
>> print Grid(col1, col2)
108+
>> print(Grid(col1, col2))
109109
<Grid: [<Column "column 1": [1, 2, 3]>, <Column "column 2": ["a", "b", "c"]>]>
110110
```
111111

112112
```python
113113
>> grid = Grid(col1, col2)
114-
>> print grid[0]
114+
>> print(grid[0])
115115
<Column "column 1": [1, 2, 3]>
116116
```
117117

118118
```python
119119
>> grid = Grid(col1, col2)
120-
>> print grid.get_column('column 1')
120+
>> print(grid.get_column('column 1'))
121121
<Column "column 1": [1, 2, 3]>
122122
```
123123

@@ -130,7 +130,7 @@ If you have the grid
130130
>> grid.upload(grid, 'experimental data')
131131

132132
>> fig_data = [Scatter(xsrc=grid[0], ysrc=grid[0])]
133-
>> print Scatter(xsrc=grid[0], ysrc=grid[1])
133+
>> print(Scatter(xsrc=grid[0], ysrc=grid[1]))
134134
[{"xsrc": "chris/8:3dkb", "ysrc": "chris/8:cbk8", "type": "scatter"}]
135135
>> py.plot(fig_data)
136136

@@ -145,7 +145,7 @@ If you have the grid
145145
>> Scatter(x=grid[0], y=grid[1])
146146
"PlotlyTypeException: Yikes, column objects aren't currently supported here."
147147
"x must be an array of strings, numbers, or datetimes."
148-
>> print Scatter(xsrc=grid[0], yscr=grid[1])
148+
>> print(Scatter(xsrc=grid[0], yscr=grid[1]))
149149
{"xsrc": "chris/3:3dfbk", "ysrc": "chris/3:dk3c"}
150150
```
151151

0 commit comments

Comments
 (0)