A step-by-step Python tutorial demonstrating how to scrape book details (publisher, ISBN, ratings) from Douban using search suggestion API and XPath parsing, then merge with Excel data for statistical analysis and visualization with pandas and matplotlib.
This hands-on tutorial walks absolute beginners through Python installation on Windows, essential tools (IDLE, PyCharm, Jupyter), core syntax including data types, conditionals, loops, and functions, plus three practical projects: data visualization with pandas and matplotlib, a tax calculator script, and batch Excel processing with openpyxl.
This comprehensive guide explains what data visualization is, why it matters, how to choose the right chart type, preprocess data, design effective visuals, select appropriate Python tools, and provides numerous code examples for pie, bar, histogram, box, scatter, bubble, and deviation charts, concluding with best‑practice insights.
This article introduces ten Python data‑visualization libraries—ranging from the classic Matplotlib to newer tools like Gleam and Leather—detailing their main features, typical use cases, and where to find more information, helping readers choose the right tool for their projects.
This article reviews eight popular Python visualization packages—Matplotlib, Seaborn, Pandas, ggplot, Bokeh, Plotly, Pygal, and NetworkX—detailing their strengths, typical use cases, and providing code examples so readers can choose the most suitable tool for their data‑visualization needs.
This article visually explores seven of Python’s most influential third‑party libraries—NumPy, Pandas, Matplotlib, Requests, Scikit‑learn, Flask, and Beautiful Soup—detailing their core features, typical use cases, and sample code to help developers quickly grasp how each tool can accelerate data processing, visualization, web development, and machine‑learning projects.
This article walks through seven core 3D plotting methods using Python's Matplotlib library—covering line, scatter, surface, wireframe, contour, triangulated surface, and Möbius strip visualizations—complete with setup steps, code examples, and practical tips for multivariate data analysis.
This article introduces ten highly practical Python libraries for data analysis—from Pandas and NumPy for data manipulation to Matplotlib, Seaborn, Plotly, Bokeh for visualization, and Scikit‑learn, Prophet, Dask, and PySpark for machine learning and big‑data processing—each illustrated with concise code snippets.
This article introduces Python's Matplotlib and Seaborn libraries for data visualization, covering basic and advanced statistical charts, common plot types, customization techniques, and multi‑plot layouts with clear code examples and a comparative summary of each library's strengths.
This tutorial introduces Pandas as a core Python library for data processing, demonstrates environment setup, shows how to create and manipulate Series and DataFrames, performs data aggregation and grouping on the Iris dataset, and visualizes results using Matplotlib with extensive code examples.
This article walks through a common Python matplotlib visualization issue, showing how to read parameter data, generate multiple gamma distribution curves, add labels and legends, and produce polished plots, with complete code examples and explanations to help readers replicate the solution.
Python in Excel lets Microsoft 365 users write and run Python code directly within spreadsheets, offering built-in libraries for data analysis, visualization, and machine learning, with cloud execution, seamless cell integration, step‑by‑step activation, sample code, library support, data import, troubleshooting, and practical tips.
This tutorial explains how to generate animated line, bar, and pie charts in Python using Matplotlib's FuncAnimation, covering required imports, data preparation, key parameters, example code snippets, and how to save the resulting animations as GIF files.
This article demonstrates how to use Python's Matplotlib and Seaborn libraries to create a variety of data visualizations—pair plots, histograms, box plots, scatter plots, 3D charts, heatmaps, and more—using the popular Kaggle red‑wine quality dataset, highlighting their practical applications in data analysis.
This article demonstrates how to automate the creation of PDF reports in Python by combining ReportLab for PDF generation, Matplotlib for data visualization, and Platypus for table handling, providing step-by-step code examples for installing libraries, drawing text and images, and assembling comprehensive reports.
This article explains how to use Python's Matplotlib library and its FuncAnimation extension to transform static line, bar, and pie charts into animated visualizations, demonstrating code setup, key parameters, and example implementations with COVID-19 death data.
This tutorial walks through a Python-based data analysis project that explores over 750,000 US voter donation records from the 2020 presidential election, covering data preparation, cleaning, exploratory analysis, and visualizations such as bar charts, pie charts, and word clouds.
This tutorial guides you through a comprehensive sales data project that covers reading a CSV file, cleaning missing and duplicate entries, grouping by department to compute average sales, and visualizing the results with line and bar charts using pandas and matplotlib.
This article demonstrates how to use Python's requests and BeautifulSoup libraries to scrape current and 14‑day weather data from China Weather Net, store the results in CSV files, and visualize temperature, humidity, air quality, and wind patterns using Matplotlib, NumPy, and Pandas.
This tutorial walks through loading a delivery‑time CSV dataset, defining a multivariate linear regression model, computing mean‑squared error, optimizing parameters with gradient descent, and visualizing the fitted plane alongside the data points in a 3‑D Matplotlib plot.
The article reviews five essential open-source drawing tools for programmers—Draw.io for versatile diagramming, Excalidraw’s hand-drawn style, Graphviz’s automatic graph layout, Python’s Matplotlib for data visualizations, and PlantUML’s simple markup-based UML creation—highlighting key features, platforms, and typical use cases.
This tutorial explains ten crucial visualizations for linear regression—scatter plot, trend line, residual plot, normal probability plot, learning curve, bias‑variance tradeoff, residuals vs fitted, partial regression, leverage, and Cook's distance—each illustrated with clear Python code using scikit‑learn, matplotlib, seaborn, and statsmodels.
This guide provides ready‑to‑run Python scripts for creating 3D scatter, line, surface, bar, and contour charts with Matplotlib, plus interactive 3D visualizations using Plotly, and includes pip installation commands for all required libraries.
This guide demonstrates how to install common Python plotting libraries and provides ready-to-use functions for creating line, scatter, bar, stacked bar, pie, histogram, heatmap, boxplot, interactive Plotly scatter, and pandas DataFrame visualizations with example code snippets.
This guide demonstrates how to generate line, bar, scatter, and box charts using Matplotlib, as well as line, bar, scatter, box, heatmap, and joint plots with Seaborn, providing complete Python code snippets for each visualization type.
This tutorial demonstrates how to use Python's Matplotlib library to generate single and multi‑bar charts, customize axis labels, adjust font size and rotation, and resolve common display issues by loading styles and Chinese fonts, providing complete code examples for reproducible visualizations.
This article demonstrates how to read Excel data with Python's pandas library and generate a range of visualizations—including line, bar, pie, scatter, box, histogram, subplot, heatmap, jointplot, and violin plots—using matplotlib and seaborn, with step-by-step code examples and required package installations.
This article walks through a Python community member's question about configuring a Matplotlib contour plot's colorbar to display values from 0 to 17, presents two code attempts, and provides a working solution using a custom ScalarMappable with defined tick levels.
This article explains how to use Python's Matplotlib library and its FuncAnimation feature to build dynamic line, pie, and bar charts—demonstrated with COVID‑19 death data—while covering essential parameters, code examples, and methods for saving the animations.
This tutorial demonstrates how to use Python libraries such as pandas, matplotlib, openpyxl, and python-docx to load, clean, analyze, visualize, and automatically generate Excel and Word reports from CSV data, complete with code examples for each step.
This tutorial presents a comprehensive collection of 25 Matplotlib visualizations—including scatter, bubble, regression, jitter, count, marginal histograms, density, Joy, and many other chart types—each explained with concise descriptions and complete Python code snippets that demonstrate data loading, styling, annotations, and layout customization for effective data analysis.
This guide shows why a Python Matplotlib 3D plot of a logistic‑regression loss surface may fail, provides a complete code example, explains version‑specific issues, and demonstrates a working solution that renders both 2D and 3D visualizations correctly.
This article introduces a collection of widely used Python libraries—including Matplotlib, Pillow, NumPy, scikit-image, OpenCV, Seaborn, Plotly, Bokeh, Pycairo, and SimpleCV—detailing their core functionalities, typical use cases, and providing ready‑to‑run code examples for data visualization and computer‑vision tasks.
This tutorial walks through using Python's major data‑visualisation libraries—including pandas, matplotlib, seaborn, bokeh, altair and folium—to explore AI‑related popularity datasets, demonstrating basic plots, styling, interactive charts, map visualisation, and guidance on choosing the right tool for a project.
This article walks through a common Matplotlib title garbling issue caused by encoding settings, explains why the 'encoding' argument triggers an AttributeError, and provides a concise code fix using font configuration to display Chinese characters correctly.
In this article, we explore a common Matplotlib visualization issue where a black line appears, explain how to identify it, and provide step‑by‑step code to change its color to gray, along with additional tips for effective Python plotting and community resources.
This article explains how to automatically rotate Matplotlib X‑axis labels based on their length, using the rotation property, and provides a concise implementation along with tips for asking clear programming questions in community groups.
This article introduces ten popular Python visualization and GUI libraries—Matplotlib, Seaborn, Plotly, Bokeh, Altair, Plotnine, VisPy, Pygame, Kivy, and PyQt/PySide—providing concise code examples and brief explanations of their typical use cases and strengths.
This article walks through a common Matplotlib pie‑chart issue—displaying color legends below the chart and showing percentages outside—by presenting the problem, solution screenshots, and concise explanations to help Python users implement the fix.
This article introduces ten Python visualization libraries—ranging from the classic Matplotlib to newer tools like Plotly and Leather—detailing their features, typical use cases, developer backgrounds, and how they complement each other for creating static, interactive, and geographic visualizations across various fields.
Using Tencent's Hunyuan model, the tutorial walks through a Python workflow that scrapes a student‑score table from a web page, saves it as CSV and Excel, cleans missing values, computes total and average scores, and visualizes their distributions with matplotlib, illustrating how LLMs can accelerate data‑analysis coding while still needing human verification.
This article demonstrates how to use Python's requests and BeautifulSoup libraries to scrape current and 14‑day weather data from China Weather, store the results in CSV files, and perform comprehensive visual analysis with pandas, numpy, and matplotlib, including temperature, humidity, AQI, wind radar, and correlation plots.
This article explores tools like Pyan, Pycallgraph, and NetworkX with Matplotlib for visualizing function call relationships in Python programs, including code examples and implementation methods.
This article introduces five widely used Python libraries—Pandas, NumPy, NLTK, Scikit-learn, and Matplotlib—explaining their core functionalities for data cleaning, statistical analysis, natural language processing, machine‑learning modeling, and visualization, and provides practical code snippets for each.
This article explains the three essential steps for Python data visualization, introduces key libraries such as Matplotlib, Seaborn, Bokeh and Pandas, and provides detailed examples of creating, customizing, and saving plots with code snippets and practical tips.
This article introduces ten Python visualization libraries—from the classic Matplotlib to the interactive Bokeh and Plotly—detailing their origins, strengths, typical use cases, and where to find more information, helping readers choose the right tool for their data projects.
This article provides a detailed tutorial on using Python’s Matplotlib library for creating high‑quality 2D and 3D visualizations, covering basic functions, advanced features like LaTeX support, color palettes, integration with IPython, and practical installation tips, all illustrated with code snippets and images.
This tutorial demonstrates how to use Python's Seaborn library to create a variety of attractive statistical charts—including bar, scatter, line, box, histogram, heatmap, violin, and KDE plots—by importing the library, setting styles, and executing concise code snippets for each chart type.
This article introduces several common probability distributions—including uniform, normal, lognormal, Poisson, exponential, binomial, Student's t, and chi‑squared—explains their properties, and provides Python code using NumPy, SciPy, and Matplotlib to visualize each distribution.
This article introduces ten essential Python libraries and frameworks, providing practical examples and code implementations for each to help readers understand and master their applications in various domains.
This article introduces the Python package Pynimate, explains how to install it from PyPI, prepares pandas‑style time‑series data, uses the Barplot function with interpolation parameters to generate smooth animated bar charts, and shows how to export the result as GIF or MP4.
This article walks through solving a common matplotlib issue by rotating x‑axis tick labels with plt.xticks(rotation=270) and adjusting figure size, providing clear code snippets and screenshots to help Python developers quickly improve their data visualizations.
This article introduces the Python library plottable, which builds highly customizable tables on top of Matplotlib, and provides a complete example showing data loading, column styling, and rendering of a styled table along with additional recommended reading links.
Learn how to model and visualize forest fire spread using a cellular automaton in Python, covering grid initialization, state transition rules, visualization with Matplotlib, statistical tracking, and parameter experiments to observe how tree density influences fire dynamics.
Matplotlib does not render Chinese text by default, showing squares instead, but you can fix this by setting a Chinese font directly in code, adjusting rcParams, or editing the config file; the example demonstrates loading a local font file and applying it to axis labels and titles.
This guide walks you through installing Matplotlib, importing it with NumPy, and using its pyplot interface to create line, scatter, bar, histogram, pie, and box plots, complete with code examples and visual results for effective data visualization.
This article introduces four advanced Python data‑visualization methods—heat map, 2D density plot, spider (radar) plot, and hierarchical tree diagram—explaining their concepts, practical use cases, and providing complete seaborn, matplotlib, and SciPy code examples for each.
Learn how to generate 3D line, scatter, and surface visualizations in Python using Matplotlib's mplot3d toolkit, with step-by-step code examples that create a canvas, produce data arrays, and render interactive plots for enhanced data analysis and presentation.
This tutorial walks through creating high‑quality scientific figures in Python by customizing Matplotlib globally, removing spines, adjusting tick parameters, adding axis labels, and then demonstrates the use of the SciencePlots and Proplot libraries for consistent styling and advanced layout options.
This article introduces ten Python data‑visualization libraries—ranging from the classic matplotlib to modern interactive tools like Bokeh and Plotly—explaining their main features, typical use cases, and where to find more information.
This guide explains how to leverage Seaborn's FacetGrid to create multiple coordinated plots, covering basic usage, parameter options, and customization techniques such as adding legends, titles, axis labels, figure size, and DPI settings, with complete Python code examples.
This guide demonstrates how to list and apply the 26 built‑in Matplotlib plotting styles, visualizes each style in a grid, and shows how to configure Chinese fonts to correctly display non‑ASCII characters in your figures.
This article surveys twelve widely used Python visualization libraries, dividing them into exploratory and interactive categories, and explains each library's strengths, typical use cases, and key features to help developers choose the right tool for their data analysis needs.
This article outlines a three-step approach to Python data visualization—defining the problem and selecting a chart type, transforming data and applying appropriate functions, and fine-tuning parameters—while introducing key libraries such as Matplotlib, Seaborn, Bokeh, and Pandas with code examples.
This guide walks you through creating various Python data visualizations—including line charts, scatter plots, histograms, bar, pie, and heatmaps—using pandas and seaborn, demonstrates code examples with the Iris, American Community Survey, and Boston housing datasets, and explains how to interpret the results.
This article walks through solving a common Matplotlib visualization challenge by showing how to read parameters from a CSV, generate multiple gamma distribution curves, add legends and annotations, and produce clear plots, with complete code examples and explanations for Python users.
This tutorial demonstrates how to install and import Matplotlib, then provides detailed Python code examples for creating common chart types—including line, scatter, bars, histograms, pie & box plots—using NumPy data, with explanations of key parameters and visual customization options.
This guide shows how to download historical Kweichow Moutai stock data from NetEase Finance as a CSV file, handle encoding issues, and use Python's pandas and matplotlib libraries to filter the data and create both volume and OHLC line charts for a selected month.
This tutorial explains how to use Python's Matplotlib library to generate common visualizations such as line, histogram, bar, and pie charts, covering the basic workflow, code examples, and function signatures for quick data analysis and reporting.
This tutorial demonstrates how to use Matplotlib for creating basic line, scatter, histogram, and density plots, customizing colors, legends, axes, and annotations, handling subplots, and generating 3D visualizations such as wireframes, surfaces, and triangulated meshes, with complete Python code examples.
This tutorial explains what Sankey diagrams are, shows their main forms, and provides step‑by‑step Python code using Matplotlib and Pyecharts to generate both basic and advanced Sankey visualizations, including tips on data preparation and styling.
This article introduces Python's matplotlib 3D plotting capabilities, demonstrating how to create line, scatter, and surface visualizations with step-by-step code examples and animated GIFs that illustrate the impact of parameters such as learning rate and projection settings.
This tutorial shows how to fetch historical stock data using Python, compute 5‑day and 20‑day moving averages with pandas, and visualize them with matplotlib to support short‑term and medium‑term trading strategy design.
This tutorial demonstrates how NumPy can be used to generate and display grayscale, color, gradient, and colormap‑enhanced images in Python with just a few lines of code, covering module import, array creation, image conversion, and advanced color mapping techniques.
This tutorial demonstrates how to use Python on Windows to crawl Maoyan movie rankings, extract details such as title, rating, genre, region, and duration, store them in a CSV file, and then perform comprehensive data cleaning, analysis, and visualization with pandas, matplotlib, and WordCloud.
This guide walks you through downloading Kweichow Moutai's historical stock data as a CSV file, handling encoding issues, and using Python's pandas and matplotlib libraries to create line charts of trading volume and OHLC prices for clear visual analysis.
This article demonstrates how to collect, process, and visualize Bilibili documentary metadata using Python APIs, pandas, and various plotting libraries, revealing insights into regional distribution, genre trends, episode lengths, popularity metrics, and comment dynamics across Chinese, British, and American documentary collections.
This article demonstrates how to use Python to scrape fund data from Eastmoney, store it in Excel, visualize fund type distribution, and perform detailed time‑series analysis on a specific fund's net‑value, growth rate, and yearly performance.
This article explains how to simulate and draw the parabolic path of a horizontally launched projectile using Python, covering the physics formulas, point‑generation logic, and Matplotlib visualization with a complete, runnable code example.
This article explains how to compute and visualize the parabolic trajectory of a horizontally launched projectile using Python’s physics formulas and Matplotlib, providing step‑by‑step reasoning, code implementation, and sample outputs to help readers replicate the plot.
This article introduces five essential Matplotlib chart types—scatter plot, line plot, histogram, bar plot, and box plot—explaining their strengths, typical use‑cases, and providing ready‑to‑run Python functions for each visualization.
This tutorial demonstrates how to collect, clean, and visualize historical Chinese National Games medal data using Python, covering data extraction with regular expressions, organization into pandas DataFrames, and creating both static line charts with Matplotlib and interactive charts with PyEcharts, complete with code snippets and practical tips.
Learn how to build eye‑catching lollipop (棒棒糖) charts using both Excel and Python’s matplotlib, covering data preparation, combining bar and scatter plots, styling axes, employing the stem function, and handling large datasets, with full code snippets and visual examples.
This article introduces Matplotlib as a versatile, open‑source Python plotting library, showcasing its 2D and 3D capabilities, various chart types, color‑customization options, LaTeX support, and integration with tools like Seaborn, while also providing installation tips and concise code examples.
This tutorial demonstrates how to create a radar chart in Python with Matplotlib to visualize cluster center values, providing the necessary data preparation steps, complete plotting code, and example output images for an airline customer value analysis.
This tutorial walks through collecting complaint data from the Black Cat platform during the pandemic, cleaning and merging the datasets with pandas, analyzing temporal trends, and generating insightful word clouds using jieba and WordCloud, all illustrated with Python code and visualizations.
This guide walks you through using Python’s pandas and matplotlib libraries to generate daily bar‑chart images, combine them into an animated GIF, and embed the animation with custom QR code and HTML to create a heartfelt, data‑driven celebration for the Qixi festival.
This article surveys eight popular Python visualization libraries—Matplotlib, Seaborn, Pandas, ggplot, Bokeh, Plotly, Pygal, and NetworkX—explaining their strengths, weaknesses, typical use‑cases, and providing concrete code examples to help readers choose the right tool for exploratory analysis or presentation.
This article provides a concise overview of key Python data‑analysis libraries—including NumPy, pandas, matplotlib, IPython/Jupyter, SciPy, scikit‑learn, and statsmodels—explaining their core features, typical use cases, and how they interoperate to form a powerful scientific computing ecosystem.
This tutorial walks you through the essentials of Matplotlib, showing how to create basic figures, customize subplots, style lines and markers, adjust axes and legends, add annotations and patches, save figures in various formats, and tweak global settings for professional-quality visualizations.
The article surveys ten Python visualization libraries—from the classic matplotlib to newer tools like Plotly and Gleam—detailing each library’s main features, typical use cases, developer information, and where to find further documentation, helping readers choose the right tool for their data projects.
This article introduces the official Matplotlib cheatsheet on GitHub, highlights its comprehensive coverage of common and advanced plotting techniques, and provides links to high‑resolution images and code examples, helping Python users master data visualization efficiently.
This tutorial introduces Seaborn—a Python statistical visualization library built on matplotlib—covers its advantages, installation methods, a step‑by‑step workflow for importing data, setting up the canvas, creating various plot types (histogram, scatter, bar, line, box, violin, heatmap, etc.), and demonstrates a practical example with full code snippets and visual outputs.
This article compares eight popular Python visualization libraries, outlining their strengths, weaknesses, and ideal use‑cases while providing clear code examples to help developers pick the right tool for their data‑storytelling needs.
This tutorial shows how to fetch ten years of stock fundamentals using Tushare, compute a probabilistic "temperature" metric with NumPy and SciPy, and visualize the temperature alongside closing prices in Matplotlib, providing a complete end‑to‑end Python data‑analysis workflow.
This article introduces a straightforward method for producing animated line, bar, and pie charts in Python using Matplotlib's FuncAnimation, guiding readers through required imports, data preparation, chart parameterization, animation setup, and saving the resulting GIFs.
This tutorial explains how to use Python's Matplotlib library to embed a zoomed inset subplot, configure its size and position, plot the same data inside it, set custom axis limits, and connect the inset to the main figure with visual cues.
This tutorial walks you through creating the classic green WeChat logo with Python's Matplotlib library, covering canvas setup, logo component analysis, and step‑by‑step code for ellipses, eyes, and arrows to produce a complete graphic.