Book Image

Hands-On Application Development with PyCharm - Second Edition

By : Bruce M. Van Horn II, Quan Nguyen
5 (1)
Book Image

Hands-On Application Development with PyCharm - Second Edition

5 (1)
By: Bruce M. Van Horn II, Quan Nguyen

Overview of this book

In the quest to develop robust, professional-grade software with Python and meet tight deadlines, it’s crucial to have the best tools at your disposal. In this second edition of Hands-on Application Development with PyCharm, you’ll learn tips and tricks to work at a speed and proficiency previously reserved only for elite developers. To achieve that, you’ll be introduced to PyCharm, the premiere professional integrated development environment for Python programmers among the myriad of IDEs available. Regardless of how Python is utilized, whether for general automation scripting, utility creation, web applications, data analytics, machine learning, or business applications, PyCharm offers tooling that simplifies complex tasks and streamlines common ones. In this book, you'll find everything you need to harness PyCharm's full potential and make the most of Pycharm's productivity shortcuts. The book comprehensively covers topics ranging from installation and customization to web development, database management, and data analysis pipeline development helping you become proficient in Python application development in diverse domains. By the end of this book, you’ll have discovered the remarkable capabilities of PyCharm and how you can achieve a new level of capability and productivity.
Table of Contents (24 chapters)
1
Part 1: The Basics of PyCharm
4
Part 2: Improving Your Productivity
9
Part 3: Web Development in PyCharm
15
Part 4: Data Science with PyCharm
19
Part 5: Plugins and Conclusion

Viewing and working with plots

For this example, you should take advantage of the ability to run your code in the console. The setting for this is probably already ticked, but you can double-check in the default run configuration as shown in Figure 13.1.

Figure 13.1: The pointed-to setting indicates this code will run in the console window, which is frequently used in scientific projects

Figure 13.1: The pointed-to setting indicates this code will run in the console window, which is frequently used in scientific projects

You saw this plot in the graph in the previous chapter, but take a look at the results for this run in Figure 13.2.

Figure 13.2: The SciView window shows us the latest plot but also allows us to pick the plots from the other runs

Figure 13.2: The SciView window shows us the latest plot but also allows us to pick the plots from the other runs

You can already see a difference: there are five plots this time. Clicking each plot will change the histogram that changes in the viewer. This is an improvement over normal Python runs since the plot view would normally block execution while it displayed the histogram. You can normally only view one at a time, and...