Skip to content

Commit

Permalink
Fix example graph
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed May 7, 2024
1 parent 7cd52cf commit e7f45d2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/doc/examples/plot_example1.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
plt.ylabel('x2')
plt.axis('square')
plt.title("2D colored Dataset")
plt.close()

# %%
# Run the SIR algorithm
Expand All @@ -41,7 +40,6 @@
plt.title("First direction of SIR")
dir_sir = algo.getResult().getDirections()
plt.plot([-dir_sir[0, 0] * 30, dir_sir[0, 0] * 30], [-dir_sir[1, 0] * 30, dir_sir[1, 0] * 30], c='red')
plt.close()

# %%
plt.show()

0 comments on commit e7f45d2

Please sign in to comment.