Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9212e84

Browse filesBrowse files
committed
V1.9.4 - Offline mode without ipython/jupyter
1 parent 1b083eb commit 9212e84
Copy full SHA for 9212e84

File tree

Expand file treeCollapse file tree

2 files changed

+26
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+26
-1
lines changed

‎CHANGELOG.md

Copy file name to clipboardExpand all lines: CHANGELOG.md
+25Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,31 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## [Unreleased]
66

7+
## [1.9.4] - 2015-01-11
8+
### Added
9+
- Offline plotting now works outside of the IPython/Juypter notebook. Here's an example:
10+
```
11+
from plotly.offline import plot
12+
from plotly.graph_objs import Scatter
13+
14+
plot([Scatter(x=[1, 2, 3], y=[3, 1, 6])])
15+
```
16+
17+
This command works entirely locally. It writes to a local HTML file with the necessary [plotly.js](https://plot.ly/javascript) code to render the graph. Your browser will open the file after you make the call.
18+
19+
The call signature is very similar to `plotly.offline.iplot` and `plotly.plotly.plot` and `plotly.plotly.iplot`, so you can basically use these commands interchangeably.
20+
21+
If you want to publish your graphs to the web, use `plotly.plotly.plot`, as in:
22+
23+
```
24+
import plotly.plotly as py
25+
from plotly.graph_objs import Scatter
26+
27+
py.plot([Scatter(x=[1, 2, 3], y=[5, 1, 6])])
28+
```
29+
30+
This will upload the graph to your online plotly account.
31+
732
## [1.9.3] - 2015-12-08
833
### Added
934
- Check for `no_proxy` when determining if the streaming request should pass through a proxy in the chunked_requests submodule. Example: `no_proxy='my_stream_url'` and `http_proxy=my.proxy.ip:1234`, then `my_stream_url` will not get proxied. Previously it would.

‎plotly/version.py

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.9.3'
1+
__version__ = '1.9.4'

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.