{"id":15288142,"url":"https://github.com/ishanoshada/matplot3dex","last_synced_at":"2026-01-05T06:41:58.608Z","repository":{"id":208399042,"uuid":"721552903","full_name":"Ishanoshada/Matplot3DEx","owner":"Ishanoshada","description":"A Matplotlib 3D Extension package for enhanced data visualization","archived":false,"fork":false,"pushed_at":"2023-11-21T12:02:46.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-03-29T15:04:13.057Z","etag":null,"topics":["data","data-science","matplotlib","python-packages","scikit-learn"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/Matplot3DEx/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ishanoshada.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-21T09:52:40.000Z","updated_at":"2023-11-21T12:01:42.000Z","dependencies_parsed_at":"2023-12-02T19:47:44.337Z","dependency_job_id":null,"html_url":"https://github.com/Ishanoshada/Matplot3DEx","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"4b5dc1ef785bdec54f8a935e78d1bbd992fb5a4d"},"previous_names":["ishanoshada/matplot3dex"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishanoshada%2FMatplot3DEx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishanoshada%2FMatplot3DEx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishanoshada%2FMatplot3DEx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishanoshada%2FMatplot3DEx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ishanoshada","download_url":"https://codeload.github.com/Ishanoshada/Matplot3DEx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245212304,"owners_count":20578443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","data-science","matplotlib","python-packages","scikit-learn"],"created_at":"2024-09-30T15:44:22.424Z","updated_at":"2026-01-05T06:41:58.577Z","avatar_url":"https://github.com/Ishanoshada.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Matplot3DEx Documentation\n\n### Table of Contents\n\n1. [Overview](#overview)\n2. [Installation](#installation)\n3. [Usage](#usage)\n   - [Example: 3D Surface Plot](#example-3d-surface-plot)\n   - [Example: 3D Wireframe Plot](#example-3d-wireframe-plot)\n   - [Example: 3D Bar Plot](#example-3d-bar-plot)\n4. [Classes](#classes)\n5. [Advanced Features](#advanced-features)\n   - [Data Science Module](#data-science-module)\n   - [Math Module](#math-module)\n   - [Add-Ons Module](#add-ons-module)\n6. [More Usage](#more-usage)\n   - [Example: 3D Scatter Plot](#example-3d-scatter-plot-1)\n   - [Example: 3D Surface Plot](#example-3d-surface-plot-1)\n   - [Example: 2D Heatmap](#example-2d-heatmap)\n   - [Example: Animated 3D Scatter Plot](#example-animated-3d-scatter-plot)\n   - [Example: 2D Hexbin Plot](#example-2d-hexbin-plot)\n   - [Example: 3D Quiver Plot](#example-3d-quiver-plot)\n\n## Overview\n\nMatplot3DEx is an extension of Matplotlib, providing a simplified API for creating a variety of 3D and 2D plots with enhanced customization options. This package aims to facilitate the creation of visually appealing and informative plots for data analysis and visualization tasks.\n\n## Installation\n\nTo install Matplot3DEx, use the following command:\n\n```bash\npip install Matplot3DEx\n```\n\n## Usage\n\n### Example: 3D Surface Plot\n\n```python\nfrom Matplot3DEx import Matplot3DEx\nimport numpy as np\n\n# Create a meshgrid for the surface plot\nx = np.linspace(-5, 5, 100)\ny = np.linspace(-5, 5, 100)\nx, y = np.meshgrid(x, y)\nz = x**2 - y**2\n\n# Create a 3D surface plot\nsurface_plot = Matplot3DEx.Surface3D(x, y, z, title='3D Surface Plot', xlabel='X-axis', ylabel='Y-axis', zlabel='Z-axis')\nsurface_plot.show()\n```\n![ex1](https://github.com/Ishanoshada/Ishanoshada/blob/main/ss/mex1.png?raw=true)\n\n\n### Example: 3D Wireframe Plot\n\n```python\nfrom Matplot3DEx import Matplot3DEx\nimport numpy as np\n\n# Create a meshgrid for the wireframe plot\nx = np.linspace(-5, 5, 100)\ny = np.linspace(-5, 5, 100)\nx, y = np.meshgrid(x, y)\nz = x**2 - y**2\n\n# Create a 3D wireframe plot\nwireframe_plot = Matplot3DEx.Wireframe3D(x, y, z, title='3D Wireframe Plot', xlabel='X-axis', ylabel='Y-axis', zlabel='Z-axis')\nwireframe_plot.show()\n```\n![ex2](https://github.com/Ishanoshada/Ishanoshada/blob/main/ss/Untitled.png?raw=true)\n\n### Example: 3D Bar Plot\n\n```python\nfrom Matplot3DEx import Matplot3DEx\n\n# Sample data for 3D bar plot\nx = [1, 2, 3, 4, 5]\ny = [2, 3, 4, 5, 6]\nz = [3, 4, 5, 6, 7]\n\n# Dimensions of the bars\ndx = 0.8\ndy = 0.8\ndz = [1, 1, 1, 1, 1]\n\n# Create a 3D bar plot\nbar_plot = Matplot3DEx.Bar3D(x, y, z, dx, dy, dz, title='3D Bar Plot', xlabel='X-axis', ylabel='Y-axis', zlabel='Z-axis')\nbar_plot.show()\n```\n![ex3](https://github.com/Ishanoshada/Ishanoshada/blob/main/ss/mex3.png?raw=true)\n\n## Classes\n\nThe Matplot3DEx package includes the following classes, each designed for specific types of plots:\n\n\n| Class                             | Description                                             |\n|-----------------------------------|---------------------------------------------------------|\n| `Matplot3DEx.BasePlot`             | Base class for common plot settings (title, labels).    |\n| `Matplot3DEx.Base3DPlot`           | Extension of `BasePlot` for 3D plots with Z-axis labels.|\n| `Matplot3DEx.Scatter3D`            | 3D scatter plot with customizable color and markers.    |\n| `Matplot3DEx.Surface3D`            | 3D surface plot with adjustable colormap and transparency. |\n| `Matplot3DEx.Wireframe3D`          | 3D wireframe plot with customizable color and linewidth.|\n| `Matplot3DEx.Bar3D`                | 3D bar plot with customizable dimensions and color.     |\n| `Matplot3DEx.Quiver3D`             | 3D quiver plot for vector visualization.                 |\n| `Matplot3DEx.Contour3D`            | 3D contour plot with adjustable colormap and levels.    |\n| `Matplot3DEx.Heatmap2D`            | 2D heatmap plot with customizable colormap.             |\n| `Matplot3DEx.AnimatedScatter3D`    | Animated 3D scatter plot for dynamic data visualization. |\n| `Matplot3DEx.Boxplot2D`            | 2D box plot with customizable appearance.               |\n| `Matplot3DEx.Hexbin2D`             | 2D hexbin plot with options for gridsize and colormap.  |\n| `Matplot3DEx.TriangularMesh3D`     | 3D triangular mesh plot with adjustable colormap.      |\n| `Matplot3DEx.Streamline3D`         | 3D streamline plot for visualizing vector fields.       |\n| `Matplot3DEx.ColorSizeScatter2D`   | 2D scatter plot with color and size coding.              |\n| `Matplot3DEx.GroupedBoxplot2D`     | Grouped 2D box plot for comparing categories.            |\n| `Matplot3DEx.PairwiseScatterplotMatrix` | Pairwise scatterplot matrix for exploring relationships. |\n| `Matplot3DEx.CorrelationHeatmap`   | Heatmap for visualizing correlation matrices.            |\n| `Matplot3DEx.HistogramWithKDE`     | Histogram plot with Kernel Density Estimation (KDE).    |\n| `Matplot3DEx.ViolinPlot`           | Violin plot for visualizing distribution and density.   |\n| `Matplot3DEx.ParametricCurve`      | 2D plot of a parametric curve.                           |\n| `Matplot3DEx.PolarRose`            | Polar plot representing a rose curve.                    |\n| `Matplot3DEx.ParametricSurface3D`  | 3D parametric surface plot.                             |\n| `Matplot3DEx.SaddleSurface`        | 3D plot of a saddle surface.                            |\n| `Matplot3DEx.QuaternionRotation`   | 3D plot of a vector rotation using quaternions.         |\n| `Matplot3DEx.TimeSeriesRollingAverage` | Time series plot with rolling average.               |\n| `Matplot3DEx.HistogramOutlierDetection` | Histogram with outlier detection.                  |\n| `Matplot3DEx.ScatterRegressionPlot` | Scatter plot with linear regression line.             |\n| `Matplot3DEx.StackedAreaTimeSeries` | Stacked area plot for time series data.              |\n| `Matplot3DEx.ConfusionMatrixHeatmap` | Heatmap for visualizing confusion matrices.         |\n\n\n## Advanced Features\n\nMatplot3DEx also provides advanced features for specific use cases:\n\n- **Data Science Module**: Includes classes for statistical analysis and data exploration.\n- **Math Module**: Incorporates mathematical plots and functions for mathematical visualizations.\n- **Add-Ons Module**: Additional classes that extend the functionality of Matplot3DEx.\n\n## More Usage\n\n### Example: 3D Scatter Plot\n\n```python\nimport numpy as np\nfrom Matplot3DEx import Matplot3DEx\n\n# Generate sample data\nx = np.random.rand(100)\ny = np.random.rand(100)\nz = np.random.rand(100)\n\n# Create a 3D scatter plot\nscatter_plot = Matplot3DEx.Scatter3D(x, y, z, title='3D Scatter Plot', xlabel='X-axis', ylabel='Y-axis', zlabel='Z-axis')\nscatter_plot.show()\n```\n\n### Example: 3D Surface Plot\n\n```python\nimport numpy as np\nfrom Matplot3DEx import Matplot3DEx\n\n# Generate sample data\nx = np.linspace(-5, 5, 100)\ny = np.linspace(-5, 5, 100)\nx, y = np.meshgrid(x, y)\nz = x**2 - y**2\n\n# Create a 3D surface plot\nsurface_plot = Matplot3DEx.Surface3D(x, y, z, title='3D Surface Plot', xlabel='X-axis', ylabel='Y-axis', zlabel='Z-axis')\nsurface_plot.show()\n```\n\n### Example: 2D Heatmap\n\n```python\nfrom Matplot3DEx import Matplot3DEx\nimport numpy as np\n\n# Generate sample data\ndata = np.random.rand(10, 10)\n\n# Create a 2D heatmap\nheatmap_plot = Matplot3DEx.Heatmap2D(data, title='2D Heatmap', xlabel='X-axis', ylabel='Y-axis')\nheatmap_plot.show()\n```\n\n### Example: Animated 3D Scatter Plot\n\n```python\nimport numpy as np\nfrom Matplot3DEx import Matplot3DEx\n\n# Generate sample data\nx = np.random.rand(100)\ny = np.random.rand(100)\nz = np.random.rand(100)\n\n# Create an animated 3D scatter plot\nanimated_scatter = Matplot3DEx.AnimatedScatter3D(x, y, z, title='Animated 3D Scatter Plot', xlabel='X-axis', ylabel='Y-axis', zlabel='Z-axis')\nanimated_scatter.animate(frames=50, interval=100)\n```\n\n### Example: 2D Hexbin Plot\n\n```python\nimport numpy as np\nfrom Matplot3DEx import Matplot3DEx\n\n# Generate sample data\nx = np.random.normal(size=1000)\ny = np.random.normal(size=1000)\n\n# Create a 2D hexbin plot\nhexbin_plot = Matplot3DEx.Hexbin2D(x, y, gridsize=30, cmap='viridis')\nhexbin_plot.show()\n```\n\n### Example: 3D Quiver Plot\n\n```python\nimport numpy as np\nfrom Matplot3DEx import Matplot3DEx\n\n# Generate sample data\nx = np.linspace(-5, 5, 20)\ny = np.linspace(-5, 5, 20)\nz = np.linspace(-5, 5, 20)\nx, y, z = np.meshgrid(x, y, z)\nu = np.sin(x + y + z)\nv = np.cos(x - y - z)\nw = np.sin(2 * x)\n\n# Create a 3D quiver plot\nquiver_plot = Matplot3DEx.Quiver3D(x, y, z, u, v, w, title='3D Quiver Plot', xlabel='X-axis', ylabel='Y-axis', zlabel='Z-axis')\nquiver_plot.show()\n```\n\n## Contributing\n\nIf you find any issues or have suggestions for improvements, feel free to contribute! Visit the [GitHub repository](https://github.com/ishanoshada/matplot3dex) for more details.\n\n**Repository Views** ![Views](https://profile-counter.glitch.me/matp3D/count.svg)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/ishanoshada/matplot3dex/blob/main/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishanoshada%2Fmatplot3dex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishanoshada%2Fmatplot3dex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishanoshada%2Fmatplot3dex/lists"}