Data Visualization with Matplotlib-BPPS Notes
Class Notes · Free · 41 pages · Basics of Python Programming for Pharmaceutical Sciences · Topic: Data Visualization with Matplotlib
Preview
Summary
These notes cover all of Unit V: Data Visualization with Matplotlib, the last unit of the subject, which brings together everything from Units I–IV. They introduce Matplotlib and how to label axes, titles and legends. Next they show how to plot concentration–time curves for oral and IV routes as line plots, compare ADR reports across drugs as bar charts, and plot dissolution profiles of Test and Reference products. Then they cover histograms, scatter plots and box plots. The unit ends with the steps of scientific interpretation of a plot. Every graph is built from real-style pharmaceutical data and can be run in the free Pharmakaksha Python Lab or Google Colab. The notes have plotted figures, code panels, worked interpretations, 30 MCQs with an answer key, 20 short-answer questions and 4 long-answer questions with answer plans.
Key points
- Introduction to Matplotlib: What Matplotlib is, the basic plotting steps, and labelling axes, titles and legends so every graph is clear and complete.
- Line plots: Plotting oral and IV concentration–time curves, and finding Cmax and Tmax from the data, with a fully worked program and interpretation.
- Bar charts: Comparing side-effect (ADR) reports across drugs using value_counts() from a cleaned Pandas table, with labelled bars and simple interpretation.
- Dissolution profiles: Plotting the dissolution of Test and Reference products on one graph and comparing them, as done in formulation and quality control.
- Histograms, scatter and box plots and interpretation: When to use each plot, spotting distributions, relationships and outliers, and the steps of scientific interpretation of a graph.
Log in or create a free account to read the full note. More in Notes and the Study Library.