Prototyping Python Dashboards for Scientists and Engineers by Unknown
Author:Unknown
Language: eng
Format: epub
Chapter 5 Our First DashbOarD
Figure 5-4. The atads_figures class initialization customizes the variable names used for the CSV data (self.names) and also defines the lists used for creating the self.var_dict used to map user-friendly (self.var_labels) and the more succinct forms (self.var_names) used internally.
72
Chapter 5 Our First DashbOarD
Miscellaneous Variable Initialization
At the end of the __init__() function (see Figure 5-5), some useful variables are set, the variable name dictionary created, a list of unique airports built, and data for PHX (Phoenix Sky Harbor) read as a default.
Figure 5-5. The last part of the atads_figures class initialization sets some general variables and builds the self.var_dict dictionary, builds a list of available airports, and reads in PHX as the default airport.
Class Methods
The class methods, other than __init__(), naturally form into different groups based on their roles:
1. A set of utilities supporting data input and managing
the main internal data repository â the self.df
dataframe
2. The
update_mainchart() used to create the
graphical output
3. Utilities to draw line graphics
4. Utilities to support linear and quadratic polynomial
curve fitting
5. Utilities to enhance graphical output â titles,
watermarks, colors, etc.
73
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
AI & Machine Learning | Bioinformatics |
Computer Simulation | Cybernetics |
Human-Computer Interaction | Information Theory |
Robotics | Systems Analysis & Design |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8292)
Test-Driven Development with Java by Alan Mellor(6650)
Data Augmentation with Python by Duc Haba(6557)
Principles of Data Fabric by Sonia Mezzetta(6317)
Learn Blender Simulations the Right Way by Stephen Pearson(6206)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(6079)
Hadoop in Practice by Alex Holmes(5958)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5806)
RPA Solution Architect's Handbook by Sachin Sahgal(5470)
Big Data Analysis with Python by Ivan Marin(5325)
The Infinite Retina by Robert Scoble Irena Cronin(5171)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5139)
Pretrain Vision and Large Language Models in Python by Emily Webber(4287)
Infrastructure as Code for Beginners by Russ McKendrick(4047)
Functional Programming in JavaScript by Mantyla Dan(4037)
The Age of Surveillance Capitalism by Shoshana Zuboff(3943)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3758)
Embracing Microservices Design by Ovais Mehboob Ahmed Khan Nabil Siddiqui and Timothy Oleson(3564)
Applied Machine Learning for Healthcare and Life Sciences Using AWS by Ujjwal Ratan(3538)
