##// END OF EJS Templates
Backport PR #5501: remove inappropriate wheel tag override...
Backport PR #5501: remove inappropriate wheel tag override I misunderstood how these tags are interpreted. We do not want `py2` and `py3`, we want `py27` and `py33`, which indicate >= matching in the minor version. This means we should build wheels with the minimum supported Python.

File last commit:

r4406:0251893c
r16305:d148f9c6
Show More
nbexamples.py
29 lines | 435 B | text/x-python | PythonLexer
from ..nbbase import (
NotebookNode,
new_code_cell, new_text_cell, new_notebook
)
nb0 = new_notebook()
nb0.cells.append(new_text_cell(
text='Some NumPy Examples'
))
nb0.cells.append(new_code_cell(
code='import numpy',
prompt_number=1
))
nb0.cells.append(new_code_cell(
code='a = numpy.random.rand(100)',
prompt_number=2
))
nb0.cells.append(new_code_cell(
code='print a',
prompt_number=3
))