spc icon indicating copy to clipboard operation
spc copied to clipboard

Trouble getting .render() to work

Open paulrefalo opened this issue 8 years ago • 0 comments

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.

paulrefalo avatar Apr 17 '16 23:04 paulrefalo