Hard-coding the scaling of how values are visually represented is not advisable since we'll often plot charts from very large databases. You can improve your code from the previous video to tackle this.
- [Instructor] Previously, we saw how to add a legend…to the charts.…In this video, we'll scale our charts.…We'll increase one value in the data…and see the effect on our chart.…After that, we'll set limits to the chart…and see what changes.…In the previous videos, while creating our first charts…and enhancing them, we hard coated the scaling…of how those values are visually represented.…While this served us well for the values we were using…we often plot charts from very large databases.…
Depending on the range of that data our hard coated values…for the vertical, wide dimension might not…always be the best solution, which may make it hard…to see the lines in our charts.…Here, we will improve our code from the previous video.…Now, we will modify the values.…Y values one, from the previous video to use 50…as the third value.…We'll also remove the colors which we specified.…The only difference to the code that created the chart…in the previous video is one data value.…
Let's see how the output gets effected by this.…
Note: This course was created by Packt Publishing. We are pleased to host this training in our library.
- Creating buttons and widgets
- Adding labels and features
- Expanding a GUI dynamically
- Aligning frames and embedding frames
- Creating menu bars, message boxes, and tooltips
- Using module-level global variables
- Coding in classes
- Using Matplotlib to create charts
- Working with multiple threads, queues, and TCP/IP
- Using URLOpen to read data from websites
- Localizing a GUI and preparing for internationalization
- Testing a GUI using unit tests and Eclipse PyDev IDE
- Using the wxPython library
- Using Tkinter, PyOpenGL, and Pyglet
Skill Level Intermediate
Python GUI Development with Tkinterwith Barron Stone4h 55m Intermediate
1. Creating the GUI Form and Adding Widgets
2. Layout Management
3. Look and Feel Customization
4. Data and Classes
Using the StringVar() type8m 14s
5. Matplotlib Charts
6. Threads and Networking
7. Storing Data in Our MySQL Database via Our GUI
8. Internationalization and Testing
9. Extending Our GUI with the wxPython Library
10. Creating Amazing 3D GUIs with PyOpenGL and Pyglet
11. Best Practices
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.