Skip to content

Commit caa6583

Browse files
authored
Merge pull request #350 from martindurant/fix_example_notebook
Fix example notebook
2 parents 213aed9 + 0f1cc1d commit caa6583

3 files changed

Lines changed: 10 additions & 7 deletions

File tree

examples/dataframes.ipynb

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"metadata": {},
77
"outputs": [],
88
"source": [
9-
"from streamz.dataframe import Random, DataFrame"
9+
"from streamz.dataframe import Random, DataFrame\n",
10+
"# this example requires hvplot\n",
11+
"import hvplot.streamz"
1012
]
1113
},
1214
{
@@ -38,8 +40,9 @@
3840
"p = (DataFrame({'raw': sdf.x,\n",
3941
" 'smooth': sdf.x.rolling('100ms').mean(),\n",
4042
" 'very-smooth': sdf.x.rolling('500ms').mean()})\n",
41-
" .plot(width=700)\n",
42-
" )"
43+
" .hvplot(width=700)\n",
44+
" )\n",
45+
"p"
4346
]
4447
},
4548
{
@@ -66,7 +69,7 @@
6669
"name": "python",
6770
"nbconvert_exporter": "python",
6871
"pygments_lexer": "ipython3",
69-
"version": "3.6.3"
72+
"version": "3.7.6"
7073
}
7174
},
7275
"nbformat": 4,

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99

1010

1111
setup(name='streamz',
12-
version='0.5.4',
12+
version='0.5.5',
1313
description='Streams',
1414
url='http://github.com/python-streamz/streamz/',
1515
maintainer='Matthew Rocklin',
1616
maintainer_email='mrocklin@gmail.com',
1717
license='BSD',
1818
keywords='streams',
1919
packages=packages + tests,
20-
python_requires='>=3.5',
20+
python_requires='>=3.6',
2121
long_description=(open('README.rst').read() if exists('README.rst')
2222
else ''),
2323
install_requires=list(open('requirements.txt').read().strip().split('\n')),

streamz/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
except ImportError:
99
pass
1010

11-
__version__ = '0.5.4'
11+
__version__ = '0.5.5'

0 commit comments

Comments
 (0)