glplot 0.1.5__tar.gz → 0.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {glplot-0.1.5 → glplot-0.1.6}/PKG-INFO +1 -1
- glplot-0.1.6/examples/gallery/27_inset_axes_image.py +51 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/README.md +1 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/.cache/matplotlib/fontlist-v330.json +1392 -1222
- glplot-0.1.6/examples/gallery/results/09_large_matrix_heatmap.png +0 -0
- glplot-0.1.6/examples/gallery/results/27_inset_axes_image.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/pyplot.py +80 -8
- {glplot-0.1.5 → glplot-0.1.6}/glplot/utils/preview.py +84 -26
- {glplot-0.1.5 → glplot-0.1.6}/pyproject.toml +1 -1
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gallery_integration.py +1 -0
- glplot-0.1.5/examples/gallery/results/.cache/xdg/fontconfig/00d5189c1d5ced4af9bb23cbaa9b1e94-le64.cache-9 +0 -0
- glplot-0.1.5/examples/gallery/results/.cache/xdg/fontconfig/617a9c25f653a4b32dbf39ee041b0318-le64.cache-9 +0 -0
- glplot-0.1.5/examples/gallery/results/.cache/xdg/fontconfig/84c0f976e30e948e99073af70f4ae876-le64.cache-9 +0 -0
- glplot-0.1.5/examples/gallery/results/.cache/xdg/fontconfig/CACHEDIR.TAG +0 -4
- glplot-0.1.5/examples/gallery/results/.cache/xdg/fontconfig/b0a71e6bf6a8a1a908413a823d76e21f-le64.cache-9 +0 -0
- glplot-0.1.5/examples/gallery/results/.cache/xdg/fontconfig/c6cafe6b1a56ed8b739253d6df90ca6a-le64.cache-9 +0 -0
- glplot-0.1.5/examples/gallery/results/09_large_matrix_heatmap.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/.claude/agents/glplot-api-analyzer.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/.claude/agents/glplot-bug-reporter.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/.claude/agents/glplot-documentation-auditor.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/.claude/agents/glplot-performance-profiler.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/.claude/agents/glplot-release-manager.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/.claude/agents/glplot-test-runner.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/.github/workflows/build.yml +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/.github/workflows/lint.yml +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/.github/workflows/tests.yml +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/.gitignore +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/.gitlab-ci.yml +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/.readthedocs.yml +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/CHANGELOG.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/CITATION.cff +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/CODE_OF_CONDUCT.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/CONTRIBUTING.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/DOCUMENTATION_SETUP.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/GLPlot_Architecture_and_Mathematical_Formulation.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/JOSS_READINESS.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/LICENSE +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/PUBLICATION_CHECKLIST.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/PUBLICATION_WORKFLOW.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/README.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/READY_FOR_PUBLICATION.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/build_and_upload.sh +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/Makefile +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/README.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/requirements.txt +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/_static/custom.css +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/api/core.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/api/layers.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/api/managers.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/api/plotting.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/api/utilities.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/conf.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/dev/architecture.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/dev/contributing.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/dev/index.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/dev/testing.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/gallery/gallery.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/guide/2d-plotting.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/guide/3d-visualization.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/guide/advanced-features.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/guide/basic-plotting.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/guide/installation.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/guide/performance-tips.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/guide/quickstart.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/docs/source/index.rst +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/01_line_density.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/02_gpu_comparison.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/03_density_quality_comparison.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/04_hvplot_datashader_interactive.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/05_pipeline_diagram.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/datashader_density_1000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/datashader_density_10000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/datashader_density_100000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/datashader_density_1000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/datashader_density_10000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/density_quality_comparison.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/density_quality_fastplotlib.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/density_quality_glplot.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/density_quality_vispy.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/fastplotlib_gpu_lines_10.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/fastplotlib_gpu_lines_100.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/fastplotlib_gpu_lines_1000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/fastplotlib_gpu_lines_10000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/fastplotlib_gpu_lines_100000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/fastplotlib_gpu_lines_1000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/fastplotlib_gpu_lines_10000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_density_10.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_density_100.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_density_1000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_density_10000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_density_100000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_density_1000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_density_10.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_density_100.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_density_1000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_density_10000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_density_100000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_density_1000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_density_10000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_density_100000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_exact_10.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_exact_100.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_exact_1000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_exact_10000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_exact_100000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_exact_1000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_exact_10000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_gpu_exact_100000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/glplot_pipeline_diagram.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/gpu_comparison_benchmark_results.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/hvplot_density_1000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/hvplot_density_10000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/hvplot_density_100000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/hvplot_density_1000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/hvplot_density_10000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/hvplot_lines_1000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/hvplot_lines_10000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/hvplot_lines_100000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/line_density_benchmark_results.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/matplotlib_density_10.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/matplotlib_density_100.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/matplotlib_density_1000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/matplotlib_density_10000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/matplotlib_density_100000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/matplotlib_density_1000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/matplotlib_lines_10.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/matplotlib_lines_100.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/matplotlib_lines_1000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/matplotlib_lines_10000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/matplotlib_lines_100000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/vispy_gpu_lines_10.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/vispy_gpu_lines_100.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/vispy_gpu_lines_1000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/vispy_gpu_lines_10000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/vispy_gpu_lines_100000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/vispy_gpu_lines_1000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/results/vispy_gpu_lines_10000000.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/benchmark/vispy_interactive.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/dataflow.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/ex_aspect_ratio_fix.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/ex_density.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/ex_density_gain.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/ex_expert_performance.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/ex_full_showcase.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/ex_function_plot.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/ex_mandelbrot.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/ex_mpl_bridge.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/ex_read_density.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/ex_scatter.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/ex_simple.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/ex_v2_layers.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/ex_viewports.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/compose.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/data.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/glplot_version.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/mpl_version.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/glplot_free_energy.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/glplot_panels/a_inset.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/glplot_panels/a_main.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/glplot_panels/b_inset.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/glplot_panels/b_main.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/glplot_panels/c_inset.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/glplot_panels/c_main.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/glplot_panels/d_main.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/glplot_panels/e_main.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/glplot_panels/f_main.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/matplotlib_free_energy.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/mpl_panels/a_inset.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/mpl_panels/a_main.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/mpl_panels/b_inset.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/mpl_panels/b_main.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/mpl_panels/c_inset.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/mpl_panels/c_main.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/mpl_panels/d_main.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/mpl_panels/e_main.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/free_energy_demo/results/mpl_panels/f_main.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/.gitignore +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/01_line_plot.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/02_scatter_fill.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/03_bar_hist.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/04_line_family_density.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/05_guides_and_colormap.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/06_signal_tools.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/07_projected_3d_cloud.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/08_vector_field_quiver.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/09_large_matrix_heatmap.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/10_massive_hist2d_density.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/11_contour_pcolormesh_field.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/12_surface_wireframe_bar3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/13_volumetric_nebula.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/14_bar3d_hex_box_city.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/15_vector_field_3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/16_ssao_comparison.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/17_square_bars3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/18_hex_bars3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/19_turbulent_vector_field_3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/20_categorical_bar_and_spines.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/21_date_axis_and_text_bbox.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/22_log_scale_plots.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/23_symlog_scale.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/24_log_scale_bar_chart.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/25_log_scale_contourf.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/26_logit_scale.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/_preview.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/.gitignore +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/01_line_plot.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/02_scatter_fill.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/03_bar_hist.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/04_line_family_density.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/05_guides_and_colormap.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/06_signal_tools.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/07_projected_3d_cloud.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/08_vector_field_quiver.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/10_massive_hist2d_density.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/11_contour_pcolormesh_field.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/12_surface_wireframe_bar3d.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/13_volumetric_nebula.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/14_bar3d_hex_box_city.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/15_vector_field_3d.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/16_ssao_comparison.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/17_square_bars3d.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/18_hex_bars3d.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/19_turbulent_vector_field_3d.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/20_categorical_bar_and_spines.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/21_date_axis_and_text_bbox.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/22_log_scale_plots.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/23_symlog_scale.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/24_log_scale_bar_chart.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/25_log_scale_contourf.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/results/26_logit_scale.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/gallery/run_gallery.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/showcase/01_colorful_particles_2d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/showcase/02_mandelbrot_zoom_2d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/showcase/03_spinning_torus_3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/showcase/04_cosmic_sphere_3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/showcase/README.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/examples/verify_polyline_cmap.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/__init__.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/__main__.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/anim/__init__.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/anim/applier.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/anim/primitives.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/anim/processes.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/animation.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/backend.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/controllers.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/core/__init__.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/core/camera3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/core/context.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/core/layers.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/core/layout.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/core/legacy.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/core/panel.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/core/timeline.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/engine.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/__init__.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/actions.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/app.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/clipboard.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/commands.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/dataio.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/datasets.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/dynamics.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/expressions.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/fuzzy.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/generators3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/history.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/icons.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/keys.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/layerops.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/layerops3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/mathops.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/__init__.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/annotate.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/base.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/data_editor.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/dynamics.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/functions.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/help.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/mathlab.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/objects3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/palette.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/pipeline.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/presentation.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/scene.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/selection.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/style.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/timeline.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/panels/view3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/pipeline.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/styles.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/theme.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/widgets.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/gui/workspace.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/managers/__init__.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/managers/axis.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/managers/effects.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/managers/hud.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/managers/hud_state.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/managers/picking.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/managers/renderer_manager.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/options.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/policy.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/__init__.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/axes3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/axis.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/base.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/density.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/exact.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/fractal.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/geometry3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/interaction.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/legend.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/line_family.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/patch.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/polyline.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/scatter.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/renderers/text.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/scratch/__init__.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/utils/__init__.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/utils/anim_export.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/utils/blending.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/utils/export.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/utils/gl_utils.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/utils/mpl_bridge.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/utils/mpl_process.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/utils/scale.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/glplot/utils/shaders.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/paper.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/plot_1784808407.png +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/scratch/check_gl_limits.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/scratch/check_runtime_math.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/scratch/diag_view.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/scratch/smoke_test.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/scratch/test_asymmetric_projection.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/scratch/test_autoscale_all.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/scratch/test_modular_export.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/conftest.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_anim_applier.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_anim_export.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_anim_primitives.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_anim_processes.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_animation_api.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_animation_integration.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_api_consistency.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_axes.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_axes3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_axis_margins.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_blending_3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_camera3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_camera_anisotropy.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_camera_projections.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_compositing_3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_compositing_api.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_dataio.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_density_tint.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_edge_cases.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_effects_post.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_encodings.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_engine.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_export.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_fractal.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_function_layer.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_generators3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_generators3d_extra.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_geometry3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_3d_panels.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_actions.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_annotate.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_clipboard.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_commands.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_data_editor.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_datasets.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_dynamics.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_engine_integration.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_expressions.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_fields.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_fuzzy.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_history.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_import_safety.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_impostor_alignment.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_keyboard_capture.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_keys.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_layer_colormaps.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_layer_kinds.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_layer_params.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_legend.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_mathlab.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_mathops.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_pipeline.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_regression_r2.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_scene_delete.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_scene_order.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_style_layer_editor.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_styles.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_styles_extra.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_gui_timeline_panel.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_helpers.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_impostor_scatter_fidelity.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_layerops3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_layers.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_mpl_bridge.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_mpl_compat.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_mpl_compat_3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_mpl_parity_surface.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_mpl_process.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_objects3d_preview.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_options.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_outline.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_outline_2d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_panels.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_performance_benchmarks.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_plot_style_api.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_polyline_lod.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_pyplot.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_pyplot_3d.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_pyplot_integration.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_regression.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_robustness.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_scatter_renderer.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_selection_model.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/test_timeline.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/verify_blending_extension.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/verify_density.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/verify_headless.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/verify_phase4.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tests/verify_phase5_density.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tools/README.md +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tools/check_gl_capabilities.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tools/diagnose_camera_state.py +0 -0
- {glplot-0.1.5 → glplot-0.1.6}/tools/validate_runtime_math.py +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import numpy as np
|
|
2
|
+
|
|
3
|
+
import glplot.pyplot as plt
|
|
4
|
+
|
|
5
|
+
rng = np.random.default_rng(7)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def synthetic_render(color, n=64):
|
|
9
|
+
"""Stand-in for a rendered structure image (e.g. loaded via ``plt.imread``)."""
|
|
10
|
+
yy, xx = np.mgrid[0:n, 0:n]
|
|
11
|
+
cx, cy = n / 2, n / 2
|
|
12
|
+
dist = np.hypot(xx - cx, yy - cy) / (n / 2)
|
|
13
|
+
shade = np.clip(1.0 - dist, 0.0, 1.0) ** 1.5
|
|
14
|
+
rgb = np.zeros((n, n, 3), dtype=np.float32)
|
|
15
|
+
rgb[..., 0] = color[0] * shade
|
|
16
|
+
rgb[..., 1] = color[1] * shade
|
|
17
|
+
rgb[..., 2] = color[2] * shade
|
|
18
|
+
return rgb
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
T = np.linspace(100, 1600, 200)
|
|
22
|
+
colors = [(0.12, 0.46, 0.71), (1.0, 0.50, 0.05), (0.17, 0.63, 0.17)]
|
|
23
|
+
centers = [420, 780, 1150]
|
|
24
|
+
positions = [(0.05, 0.62), (0.36, 0.62), (0.67, 0.62)]
|
|
25
|
+
|
|
26
|
+
fig, ax = plt.subplots(figsize=(7, 5))
|
|
27
|
+
|
|
28
|
+
for _ in range(12):
|
|
29
|
+
center = rng.uniform(200, 1500)
|
|
30
|
+
curve = np.exp(-((T - center) ** 2) / (2 * 90.0**2))
|
|
31
|
+
ax.plot(T, curve * 100, lw=1, c="k", alpha=0.15)
|
|
32
|
+
|
|
33
|
+
for color, center, (left, bottom) in zip(colors, centers, positions):
|
|
34
|
+
curve = np.exp(-((T - center) ** 2) / (2 * 90.0**2))
|
|
35
|
+
ax.plot(T, curve * 100, lw=1.5, c=color)
|
|
36
|
+
|
|
37
|
+
inset = ax.inset_axes([left, bottom, 0.28, 0.32])
|
|
38
|
+
inset.imshow(synthetic_render(color))
|
|
39
|
+
inset.set_xticks([])
|
|
40
|
+
inset.set_yticks([])
|
|
41
|
+
for spine in inset.spines.values():
|
|
42
|
+
spine.set_edgecolor(color)
|
|
43
|
+
spine.set_linewidth(2)
|
|
44
|
+
|
|
45
|
+
ax.set_xlabel("Temperature (K)")
|
|
46
|
+
ax.set_ylabel("Probability (%)")
|
|
47
|
+
ax.set_xlim([100, 1600])
|
|
48
|
+
ax.set_ylim([-5, 105])
|
|
49
|
+
ax.set_title("Highlighted curves with rendered-structure insets")
|
|
50
|
+
plt.show()
|
|
51
|
+
plt.savefig("examples/gallery/results/27_inset_axes_image.png")
|
|
@@ -34,3 +34,4 @@ Ordered examples:
|
|
|
34
34
|
24. `24_log_scale_bar_chart.py` - `bar()` with a real log y-axis, baseline pinned below the smallest bar rather than at an unrepresentable zero.
|
|
35
35
|
25. `25_log_scale_contourf.py` - `contourf()` (drawn through `imshow()`'s image quad) on a real log x-axis.
|
|
36
36
|
26. `26_logit_scale.py` - `yscale('logit')`: a probability curve with both tails stretched out, linear near 0.5.
|
|
37
|
+
27. `27_inset_axes_image.py` - `ax.inset_axes(...)` with true-color `imshow()` insets framed by per-curve `spines[...].set_edgecolor(...)`.
|