pdit 0.2.0__py3-none-any.whl → 0.3.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pdit/_demo.py CHANGED
@@ -22,14 +22,11 @@ import matplotlib.pyplot as plt
22
22
  x = [i * 0.1 for i in range(0, 63)]
23
23
  y = [math.sin(v) for v in x]
24
24
 
25
- # Wrap in `with plt.ioff():` to avoid every call to `plt.*` rendering a
26
- # plot.
27
- with plt.ioff():
28
- plt.figure()
29
- plt.plot(x, y)
30
- plt.xlabel('x')
31
- plt.ylabel('sin(x)')
32
- plt.show()
25
+ plt.figure()
26
+ plt.plot(x, y)
27
+ plt.xlabel('x')
28
+ plt.ylabel('sin(x)')
29
+ plt.show()
33
30
 
34
31
  """
35
32
  ## Polars/Pandas
@@ -100,4 +97,4 @@ are supported, e.g. images.
100
97
 
101
98
  from IPython.display import Image
102
99
 
103
- Image('pea.png')
100
+ Image('https://pdit.dev/pea.png')