Thanks for the help. 

Using 

' Compose.draw(img, compose(sierpinski(8), linewidth(0.1mm), fill(nothing), 
stroke("black"))) '

results in no plot output whatsoever. 

Using 

' PyPlot..draw(img, compose(sierpinski(8), linewidth(0.1mm), fill(nothing), 
stroke("black"))) '

results in the following error:


LoadError: PyError (:PyObject_Call) <type 'exceptions.TypeError'>
TypeError('draw() takes no arguments (2 given)',)

while loading In[28], in expression starting on line 1

 [inlined code] from /Users/NAME/.julia/v0.4/PyCall/src/exception.jl:56
 in pyerr_check at /Users/NAME/.julia/v0.4/PyCall/src/exception.jl:72
 [inlined code] from /Users/NAME/.julia/v0.4/PyCall/src/exception.jl:81
 in pycall at /Users/NAME/.julia/v0.4/PyCall/src/PyCall.jl:79
 in draw at /Users/NAME/.julia/v0.4/PyPlot/src/PyPlot.jl:460


No plot has been returned. 

On Sunday, January 10, 2016 at 2:44:45 AM UTC-5, [email protected] wrote:
>
>
>
> On Sunday, January 10, 2016 at 5:43:30 PM UTC+10, [email protected] wrote:
>>
>>
>>
>> On Sunday, January 10, 2016 at 3:19:55 PM UTC+10, EvanB wrote:
>>>
>>> I detail the problem here:
>>>
>>> https://github.com/dpsanders/scipy_2014_julia/issues/5
>>>
>>> It appears that two exports are clashing. How does one resolve this? 
>>>
>>> Any more explanatory details are be appreciated. Thank you
>>>
>>
>> As the error message says, they need to be qualified Compose::draw or 
>> Pyplot::draw to tell Julia which one you mean. 
>>
>
> D'oh, I have been writing too much C++ Compose.draw and Pyplot.draw :) 
>

Reply via email to