From 05b01edf56c54f79f4d3bd69677b1946f31ef5b8 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 18 Oct 2019 03:01:19 +0000 Subject: CTAN sync 201910180301 --- .../latex/contrib/elegantpaper/figure/scatter.py | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 macros/latex/contrib/elegantpaper/figure/scatter.py (limited to 'macros/latex/contrib/elegantpaper/figure/scatter.py') diff --git a/macros/latex/contrib/elegantpaper/figure/scatter.py b/macros/latex/contrib/elegantpaper/figure/scatter.py deleted file mode 100644 index 576e6b07df..0000000000 --- a/macros/latex/contrib/elegantpaper/figure/scatter.py +++ /dev/null @@ -1,27 +0,0 @@ -# This file is the source file of the scatter.pdf -# source page: https://matplotlib.org/gallery/shapes_and_collections/scatter.html -import numpy as np -import matplotlib.pyplot as plt - -# Fixing random state for reproducibility -np.random.seed(19680801) - - -N = 50 -x = np.random.rand(N) -y = np.random.rand(N) -colors = np.random.rand(N) -area = (30 * np.random.rand(N))**2 # 0 to 15 point radii - -ax = plt.subplot(111) -ax.scatter(x, y, s=area, c=colors, alpha=0.5) - -# Hide the right and top spines -ax.spines['right'].set_visible(False) -ax.spines['top'].set_visible(False) - -# Only show ticks on the left and bottom spines -ax.yaxis.set_ticks_position('left') -ax.xaxis.set_ticks_position('bottom') - -plt.savefig('scatter.pdf', transparent=True) -- cgit v1.2.3