<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Hello everyone,<div><br></div><div>I just ran into an error in using "data_source" kwarg with the SlicePlot function (error message copied below):</div><div><br></div><div><div>slice = yt.SlicePlot(ds, axis, field, data_source=region)</div><div>File "/home/emerick/.local/lib/python2.7/site-packages/yt-3.1dev-py2.7-linux-x86_64.egg/yt/visualization/plot_window.py", line 1816, in SlicePlot</div><div>    return AxisAlignedSlicePlot(ds, normal, fields, *args, **kwargs)</div><div>TypeError: __init__() got an unexpected keyword argument 'data_source'</div><div><br></div><div>I have no problem doing the above with ProjectionPlot. If anyone knows what could be causing this I'd appreciate the help. Otherwise I can do some digging into the code myself.</div><div><br></div><div><br></div><div><br></div><div>Thanks,</div><div>Andrew E.</div>-- <br><div class="gmail_signature"><div dir="ltr"><div style="font-family:arial;font-size:small">Graduate Student </div><div style="font-family:arial;font-size:small">Columbia University</div><div style="font-family:arial;font-size:small">Department of Astronomy</div></div></div>
</div></div>