fix plot type (square / circle) in the legend
updated examples