Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Plotting 2 Point Lines #57

Open
paxRomana99 opened this issue Feb 12, 2018 · 0 comments
Open

Issue Plotting 2 Point Lines #57

paxRomana99 opened this issue Feb 12, 2018 · 0 comments

Comments

@paxRomana99
Copy link

paxRomana99 commented Feb 12, 2018

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()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant