add show method for Spline1D