Matplotlib - Export and Publication Quality
Which of the following is the correct syntax to create a figure with 6 inches width, 4 inches height, and 150 DPI in matplotlib?
figsize for size and dpi for resolution.figsize expects a tuple, so (6,4) is correct. dpi is a keyword argument.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions