Skip to content

Commit

Permalink
Merge pull request scikit-learn#5411 from lesteve/fix-plot-tomography…
Browse files Browse the repository at this point in the history
…-l1-reconstruction-example

[MRG] Fix plot_tomography_l1_reconstruction example
  • Loading branch information
ogrisel committed Oct 16, 2015
2 parents 3301893 + 02b9a72 commit c0c2c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/applications/plot_tomography_l1_reconstruction.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def _weights(x, dx=1, orig=0):


def _generate_center_coordinates(l_x):
X, Y = np.mgrid[:l_x, :l_x]
X, Y = np.mgrid[:l_x, :l_x].astype(np.float64)
center = l_x / 2.
X += 0.5 - center
Y += 0.5 - center
Expand Down

0 comments on commit c0c2c73

Please sign in to comment.