to_proto# PlotDefinition.to_proto(proto_type: type[ProtoPlot]) → ProtoPlot# Convert to a protobuf plot message.