You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import numpy as np
import matplotlib.pyplot as plt
figure, ax = plt.subplots()
fig1 = plt.gcf()
ax.plot(np.array([1.,10]), np.array([1.,10])) # Does not render the line
rects1 = ax.plot(np.array([1., 5, 10]), np.array([1., 5, 10])) # Renders the line
plt.draw()
plt.show()
The text was updated successfully, but these errors were encountered:
OS: Ubuntu 16.04
Python: 2.7.12
Matplotlib: 1.5.1
Kivy: 1.10.0
#!/usr/bin/env python
import matplotlib
matplotlib.use('module://kivy.garden.matplotlib.backend_kivy')
import numpy as np
import matplotlib.pyplot as plt
figure, ax = plt.subplots()
fig1 = plt.gcf()
ax.plot(np.array([1.,10]), np.array([1.,10])) # Does not render the line
rects1 = ax.plot(np.array([1., 5, 10]), np.array([1., 5, 10])) # Renders the line
plt.draw()
plt.show()
The text was updated successfully, but these errors were encountered: