|
10 | 10 | "\n",
|
11 | 11 | "\n",
|
12 | 12 | "## Save the image:\n",
|
13 |
| - "To save the image, you need to login to plotly using your credentials (username and API Key). More information regarding the same is available [here](https://plot.ly/python/getting-started/)" |
| 13 | + "To save the image, you need to login to plotly using [your credentials](https://plot.ly/settings/api) (username and API Key)." |
14 | 14 | ]
|
15 | 15 | },
|
16 | 16 | {
|
|
154 | 154 | "source": [
|
155 | 155 | "# Supported Formats:\n",
|
156 | 156 | "\n",
|
157 |
| - "The common image formats: 'PNG', 'JPG/JPEG' are supported.In addition, formats like 'EPS', 'SVG' and 'PDF' are also supported.\n", |
| 157 | + "The common image formats: 'PNG', 'JPG/JPEG' are supported. In addition, formats like 'EPS', 'SVG' and 'PDF' are also supported.\n", |
158 | 158 | "\n",
|
159 |
| - "**Note**: The SVG,EPS and PDF Formats are *only* available for Plotly Professional users. You can get more details on our [pricing page](https://plot.ly/products/cloud/)\n", |
| 159 | + "**Note**: The SVG, EPS and PDF Formats are *only* available for Plotly Professional users. You can get more details on our [pricing page](https://plot.ly/products/cloud/)\n", |
160 | 160 | "\n",
|
161 | 161 | "\n",
|
162 | 162 | "To access the image in a particular format, you can either:\n",
|
163 |
| - " - append the format extension to the plot url. i.e. the JPEG version of the plot: https://plot.ly/~chris/1638 is available at : https://plot.ly/~chris/1638.jpg\n", |
| 163 | + " - append the format extension to the plot url. i.e. the JPG version of the plot: https://plot.ly/~chris/1638 is available at : https://plot.ly/~chris/1638.jpg\n", |
164 | 164 | " - Add the appropriate extension to the `save_as` method:\n",
|
165 | 165 | " <code> py.image.save_as(fig, 'chris-plot.jpg')</code>"
|
166 | 166 | ]
|
167 | 167 | },
|
| 168 | + { |
| 169 | + "cell_type": "markdown", |
| 170 | + "metadata": {}, |
| 171 | + "source": [ |
| 172 | + "## Saving Image data in Memory:\n", |
| 173 | + "\n", |
| 174 | + "The data from the charts can also be stored in the memory. This reduces the overhead of saving the image in the hard disk. It is particularly useful when the image needs to be embedded (for example in email reports)." |
| 175 | + ] |
| 176 | + }, |
168 | 177 | {
|
169 | 178 | "cell_type": "code",
|
170 | 179 | "execution_count": 7,
|
|
179 | 188 | },
|
180 | 189 | {
|
181 | 190 | "cell_type": "code",
|
182 |
| - "execution_count": 8, |
| 191 | + "execution_count": 2, |
183 | 192 | "metadata": {
|
184 | 193 | "collapsed": false
|
185 | 194 | },
|
|
207 | 216 | },
|
208 | 217 | "metadata": {},
|
209 | 218 | "output_type": "display_data"
|
210 |
| - }, |
211 |
| - { |
212 |
| - "name": "stderr", |
213 |
| - "output_type": "stream", |
214 |
| - "text": [ |
215 |
| - "//anaconda/lib/python2.7/site-packages/IPython/nbconvert.py:13: ShimWarning:\n", |
216 |
| - "\n", |
217 |
| - "The `IPython.nbconvert` package has been deprecated. You should import from nbconvert instead.\n", |
218 |
| - "\n", |
219 |
| - "//anaconda/lib/python2.7/site-packages/publisher/publisher.py:53: UserWarning:\n", |
220 |
| - "\n", |
221 |
| - "Did you \"Save\" this notebook before running this command? Remember to save, always save.\n", |
222 |
| - "\n" |
223 |
| - ] |
224 | 219 | }
|
225 | 220 | ],
|
226 | 221 | "source": [
|
|
0 commit comments