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

Trouble getting .render() to work #3

Open
paulrefalo opened this issue Apr 17, 2016 · 0 comments
Open

Trouble getting .render() to work #3

paulrefalo opened this issue Apr 17, 2016 · 0 comments

Comments

@paulrefalo
Copy link

paulrefalo commented Apr 17, 2016

EDIT: I see that it is now render_to_file() instead of render()

I'm trying your demo here but getting this:

import sys
sys.path.append('/Library/Python/2.7/site-packages/')
import spcchart

from spcchart import SpcChart
widgets = [56, 75, 82, 12, 34, 18, 22, 81, 88, 91, 76, 85, 100, 88, 43, 44]
print(widgets)
c = SpcChart(widgets, title="Nice Graph")
c.render()

[56, 75, 82, 12, 34, 18, 22, 81, 88, 91, 76, 85, 100, 88, 43, 44]

AttributeError Traceback (most recent call last)
in ()
7 print(widgets)
8 c = SpcChart(widgets, title="Nice Graph")
----> 9 c.render()

AttributeError: 'SpcChart' object has no attribute 'render'

Any thoughts? Sorry if it's something that I am doing work. Thank you; I am hoping to use your module to make some control charts for our local crime lab.

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