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
Visualization in Python with matplotlib
course content

Course Content

Visualization in Python with matplotlib

Visualization in Python with matplotlib

1. Basics: Line Charts
2. Bar Charts
3. Scatter Plots

Set Ticks and Limits

Task

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.

Task

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.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 3. Chapter 4
toggle bottom row

Set Ticks and Limits

Task

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.

Task

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.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 3. Chapter 4
toggle bottom row

Set Ticks and Limits

Task

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.

Task

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.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Task

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.

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 3. Chapter 4
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt