+ # Set the default dimensions
+ default_height, default_width = GRAPH_DEFAULT_HEIGHT, GRAPH_DEFAULT_WIDTH
+
+ # A thumbnail doesn't have a legend and other labels
+ if thumbnail:
+ args.append("--only-graph")
+
+ default_height = THUMBNAIL_DEFAULT_HEIGHT
+ default_width = THUMBNAIL_DEFAULT_WIDTH