To get rid of name clashed you could e.g. also say

import Gadfly
using PyPlot

Like this "plot" will refer to PyPlot.plot, and you can use "Gadfly.plot" 
anytime you need Gadfly's plot.

You can find more info here: 
http://docs.julialang.org/en/release-0.3/manual/modules/#summary-of-module-usage



Am 06.03.2015 um 14:12 schrieb Andreas Lobinger <lobing...@gmail.com>:

> Hello colleague,
> 
> On Friday, March 6, 2015 at 2:05:19 PM UTC+1, Andrei Berceanu wrote:
> Hi guys,
> 
> when I do 
> 
> using Gadfly, PyPlot 
> 
> i get
> Warning: using PyPlot.plot in module Main conflicts with an existing 
> identifier.
> 
> And other warning of the same type. How can I solve this? 
> 
> 
> I guess to solve this, you need to work on the packages (or even the julia 
> logic for exporting). Still you should be able to use (as this is a warning 
> only) both .plot by prefixing Gadly.plot and PyPlot.plot.  
> 

Reply via email to