It is probably best to ask this question in the discourse community
https://discourse.julialang.org/, under the 'Usage'->'First Steps' category since this is not directly related to the POMDPs.jl package.
Based on what you have provided I would guess that since you have two packages loaded each of which have a `plot' function, you will need to specify `PyPlot.plot()` or `Gadfly.plot()` based on which package you would like to plot with.
Having said that, if this doesn't work you will probably still want to post this in the discourse forum with some more detail about your problem. Specifically what code you are trying to run when you get the error.
Good luck!