Why not just initialize this in the constructor?  Unlike Python, Julia uses late binding, and you can refer to variables introduced earlier in the parameter list.  It should also keep `colormap` from being a `Union(Nothing, Int)`