Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Set Ticks and Limits | Scatter Plots
course content

Contenido del Curso

Visualization in Python with matplotlib

Set Ticks and LimitsSet Ticks and Limits

Tarea

Using the .set() function, set the following parameters:

  • limit values on the x-axis to (0, 30000);
  • limit values on the y-axis to (40, 80);
  • set ticks on the x-axis so that they will have a step of 5000 (for instance, 0, 5000, 10000, 15000, ...). You can use the np.arange(start, end, step) function there. It will generate numbers from start to end with the step of step.

¿Todo estuvo claro?

Sección 3. Capítulo 4
toggle bottom row
course content

Contenido del Curso

Visualization in Python with matplotlib

Set Ticks and LimitsSet Ticks and Limits

Tarea

Using the .set() function, set the following parameters:

  • limit values on the x-axis to (0, 30000);
  • limit values on the y-axis to (40, 80);
  • set ticks on the x-axis so that they will have a step of 5000 (for instance, 0, 5000, 10000, 15000, ...). You can use the np.arange(start, end, step) function there. It will generate numbers from start to end with the step of step.

¿Todo estuvo claro?

Sección 3. Capítulo 4
toggle bottom row
some-alt