Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: williamjameshandley/py2nb
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.0
Choose a base ref
...
head repository: williamjameshandley/py2nb
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 26, 2023

  1. Copy the full SHA
    5eb2d33 View commit details

Commits on Jan 27, 2023

  1. Merge pull request #6 from dmontaner/master

    make consistent numpy imporort in the README example
    williamjameshandley authored Jan 27, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    670c78c View commit details
Showing with 5 additions and 5 deletions.
  1. +5 −5 README.rst
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ If one has a script named ``example.py`` containing the code:
#| * To split a code cell, add a line beginning with '#-' or '# -'
import matplotlib.pyplot as plt
import numpy
import numpy as np
%matplotlib inline
@@ -70,16 +70,16 @@ If one has a script named ``example.py`` containing the code:
# | Here is another markdown cell
x = numpy.random.rand(5)
x = np.random.rand(5)
#-------------------------------
y = numpy.random.rand(4)
z = numpy.random.rand(3)
y = np.random.rand(4)
z = np.random.rand(3)
#| Here are some plots
x = numpy.linspace(-2,2,1000)
x = np.linspace(-2,2,1000)
y = x**3
fig, ax = plt.subplots()
ax.plot(x,y)