Exercise

Graph Sizing

Let's try resizing our static graph to fit its container.

Instructions

100 XP
  • Resize the Trip Durations graph using the fig.width and fig.height arguments. Use the value 10 for the width and the value 6 for the height.
  • Knit and expand the HTML viewer. Try resizing the window and observe what happens.