# Gallery, labelscaption ="""\This graphic illustrates the inverse relationship between vehicle weightand fuel efficiency (MPG). It aims to highlight how heavier vehicles generallyconsume more fuel, and how the complexity of an engine's cylinder count andtransmission system can affect its fuel economy."""from plotnine import*( ggplot(mtcars, aes("mpg", "wt", colour="factor(cyl)", size="gear"))+ geom_point()+ labs( x="Miles per Gallon", y="Weight", colour="Cylinders", size="Gears", title="Fuel Efficiency vs. Vehicle Weight", subtitle ="Exploring Factors that Affect the Fuel Effeciency of a Car", caption=caption, )+ theme(# left justify the caption and have one line of space between it and# the x-axis label plot_caption=element_text(ha="left", margin={"t": 1, "units": "lines"}) ))