Home
last modified time | relevance | path

Searched +refs:fig +refs:path (Results 1 – 25 of 2190) sorted by relevance

12345678910>>...88

/dports/math/py-matplotlib2/matplotlib-2.2.4/tools/
H A Dmake_icons.py36 IMAGES_ROOT = os.path.join(
38 FONT_PATH = os.path.join(
39 os.path.dirname(__file__), 'FontAwesome.otf')
42 def save_icon(fig, name): argument
43 fig.savefig(os.path.join(IMAGES_ROOT, name + '.svg'))
44 fig.savefig(os.path.join(IMAGES_ROOT, name + '.pdf'))
47 fig.savefig(os.path.join(IMAGES_ROOT, name + suffix + '.png'), dpi=dpi)
50 img.save(os.path.join(IMAGES_ROOT, name + suffix + '.ppm'))
62 return fig
89 return fig
[all …]
/dports/math/py-matplotlib/matplotlib-3.4.3/lib/matplotlib/tests/
H A Dtest_simplification.py24 fig, ax = plt.subplots()
34 fig, ax = plt.subplots()
58 fig.canvas.draw()
59 path = p1[0].get_path()
61 path = transform.transform_path(path)
74 path = transform.transform_path(path)
201 fig.canvas.draw()
204 path = transform.transform_path(path)
240 fig.canvas.draw()
243 path = transform.transform_path(path)
[all …]
H A Dtest_backend_pgf.py32 actual = os.path.join(result_dir, fname)
201 path = os.path.join(result_dir, f'pdfpages_{system}.pdf')
212 with PdfPages(path, metadata=md) as pdf:
235 fig, ax = plt.subplots()
247 path = os.path.join(result_dir, f'pdfpages_meta_check_{system}.pdf')
248 with PdfPages(path, metadata=md) as pdf:
249 pdf.savefig(fig)
251 with pikepdf.Pdf.open(path) as pdf:
279 fig = plt.figure()
280 fig.suptitle(r"\oops")
[all …]
H A Dtest_bbox_tight.py7 import matplotlib.path as mpath
30 fig, ax = plt.subplots(1, 1)
68 fig, ax = plt.subplots()
69 fig.suptitle('Booo', x=0.5, y=1.1)
87 path = mpath.Path.unit_regular_star(5).deepcopy()
88 path.vertices *= 0.25
89 patch.set_clip_path(path, transform=ax.transAxes)
97 fig, ax = plt.subplots()
102 fig, ax = plt.subplots()
110 fig, ax = plt.subplots()
[all …]
H A Dtest_backend_pdf.py34 fig, ax = plt.subplots()
45 fig, ax = plt.subplots()
47 fig.savefig(io.BytesIO())
79 assert os.path.exists(filename)
84 assert not os.path.exists(filename)
86 fig, ax = plt.subplots()
93 assert os.path.exists(filename)
100 assert os.path.exists(filename)
196 pdf.savefig(fig)
197 pdf.savefig(fig)
[all …]
/dports/math/py-statsmodels/statsmodels-0.13.1/examples/python/
H A Dinfluence_glm_logit.py25 import os.path
38 cur_dir = cur_dir = os.path.abspath(os.path.dirname(test_module))
41 file_path = os.path.join(cur_dir, "results", file_name)
76 fig = infl.plot_influence() variable
77 fig.tight_layout(pad=1.0)
79 fig = infl.plot_index(y_var="cooks", variable
81 fig.tight_layout(pad=1.0)
84 fig.tight_layout(pad=1.0)
87 fig.tight_layout(pad=1.0)
90 fig.tight_layout(pad=1.0)
[all …]
/dports/math/py-matplotlib2/matplotlib-2.2.4/lib/matplotlib/tests/
H A Dtest_simplification.py25 fig, ax = plt.subplots()
35 fig, ax = plt.subplots()
45 fig, ax = plt.subplots()
55 fig, ax = plt.subplots()
60 path = transform.transform_path(path)
73 path = transform.transform_path(path)
196 fig, ax = plt.subplots()
201 path = transform.transform_path(path)
216 fig, ax = plt.subplots()
224 fig, ax = plt.subplots()
[all …]
H A Dtest_backend_pdf.py44 fig = plt.figure()
56 fig = plt.figure()
65 fig = plt.figure()
95 assert os.path.exists(filename)
100 assert not os.path.exists(filename)
102 fig = plt.figure()
110 assert os.path.exists(filename)
117 assert os.path.exists(filename)
126 fig = plt.figure()
236 path = str(tmpdir.join("tmpoutput.pdf"))
[all …]
/dports/biology/bbmap/bbmap/pytools/lib/
H A Dreadqc_utils.py342 fig, ax = plt.subplots()
552 fig, ax = plt.subplots()
677 fig, ax = plt.subplots()
1563 fig, ax = plt.subplots()
1687 fig, ax = plt.subplots()
1872 fig, ax = plt.subplots()
2162 fig, ax = plt.subplots()
2254 fig, ax = plt.subplots()
2297 fig, ax = plt.subplots()
2377 fig, ax = plt.subplots()
[all …]
/dports/textproc/dblatex/dblatex-0.3.11py3/lib/dbtexmf/core/
H A Dimagedata.py264 fig = fig.decode("utf-8")
267 fig = url2pathname(fig)
270 if os.path.sep != '/': fig = fig.replace(os.path.sep, '/')
348 (root, ext) = os.path.splitext(fig)
373 def find(self, fig): argument
375 if os.path.isabs(fig):
376 if os.path.isfile(fig):
377 return fig
382 for path in self.paths:
383 realfig = os.path.join(path, fig)
[all …]
/dports/graphics/py-plotly/plotly-4.14.3/plotly/io/
H A D_kaleido.py14 root_dir = os.path.dirname(os.path.abspath(plotly.__file__))
15 package_dir = os.path.join(root_dir, "package_data")
16 scope.plotlyjs = os.path.join(package_dir, "plotly.min.js")
104 fig,
130 fig_dict = validate_coerce_fig_to_dict(fig, validate)
139 fig, argument
225 _, ext = os.path.splitext(file)
246 fig,
309 fig = json.loads(scope.transform(fig, format="json").decode("utf-8"))
311 return fig
[all …]
/dports/science/py-obspy/obspy-1.2.2/obspy/imaging/tests/
H A Dtest_ppsd.py25 self.path = os.path.join(os.path.dirname(__file__), 'images')
40 fig = plt.gcf()
41 ax = fig.axes[0]
44 fig.savefig(ic.name)
57 with ImageComparison(self.path, 'ppsd_freq.png',
65 fig = plt.gcf()
66 ax = fig.axes[0]
77 with ImageComparison(self.path, 'ppsd_cumulative.png',
87 fig = plt.gcf()
88 ax = fig.axes[0]
[all …]
H A Dtest_beachball.py28 self.path = os.path.join(os.path.dirname(__file__), 'images')
82 with ImageComparison(self.path, filename) as ic:
230 fig = plt.figure(figsize=(6, 6), dpi=300)
231 ax = fig.add_subplot(111, aspect='equal')
250 fig.savefig(ic.name)
261 fig = plt.figure()
262 ax = fig.add_subplot(111)
270 fig.savefig(ic.name)
275 fig = plt.figure()
276 ax = fig.add_subplot(111)
[all …]
/dports/math/py-PyWavelets/pywt-1.2.0/demo/
H A Dwp_2d.py18 path = ['d', 'v', 'h', 'a'] variable
21 fig = plt.figure() variable
22 for i, p2 in enumerate(path):
23 ax = fig.add_subplot(2, 2, i + 1)
29 for p1 in path:
30 fig = plt.figure() variable
31 for i, p2 in enumerate(path):
32 ax = fig.add_subplot(2, 2, i + 1)
38 fig = plt.figure() variable
42 ax = fig.add_subplot(len(row), len(row), i)
[all …]
/dports/databases/grass7/grass-7.8.6/lib/python/gunittest/
H A Dmultireport.py64 fig = plt.figure()
73 fig.autofmt_xdate()
81 fig.savefig(filename)
85 fig = plt.figure()
122 fig.autofmt_xdate()
158 fig = plt.figure()
169 fig.autofmt_xdate()
214 fig = plt.figure()
225 fig.autofmt_xdate()
258 fig = plt.figure()
[all …]
/dports/graphics/py-cartopy/Cartopy-0.19.0.post1/examples/miscellanea/
H A Dun_flag.py13 import matplotlib.path
84 return matplotlib.path.Path(olives_verts, olives_codes)
91 fig = plt.figure(figsize=[7.5, 4.5], facecolor=blue)
93 blue_background = PathPatch(matplotlib.path.Path.unit_rectangle(),
96 fig.patches.append(blue_background)
105 ax = fig.add_axes([0.25, 0.24, 0.5, 0.54], projection=az_eq)
120 circular_path = matplotlib.path.Path.circle(0, patch_radius)
151 transform=olive1_trans + fig.transFigure)
153 transform=olive2_trans + fig.transFigure)
155 fig.patches.append(olive1)
[all …]
/dports/benchmarks/py-naarad/naarad-1.0.15/src/naarad/graphing/
H A Dmatplotlib_naarad.py62 if os.path.exists(plot.input_csv):
63 if not os.path.getsize(plot.input_csv):
93 fig, axis = plt.subplots()
94 fig.set_size_inches(graph_width, graph_height)
98 fig.subplots_adjust(left=CONSTANTS.SUBPLOT_LEFT_OFFSET, bottom=CONSTANTS.SUBPLOT_BOTTOM_OFFSET,
143 fig.savefig(plot_file_name)
148 …resource_path + '/' + os.path.basename(plot_file_name) + '" id="' + os.path.basename(plot_file_nam…
166 fig, axis = plt.subplots()
167 fig.set_size_inches(graph_width, graph_height)
191 fig.savefig(plot_file_name)
[all …]
/dports/science/py-nilearn/nilearn-0.8.1/nilearn/plotting/tests/
H A Dtest_matrix_plotting.py80 assert os.path.exists('dmtx.png')
83 assert os.path.exists('dmtx.pdf')
104 fig = plot_event(model_event)
105 assert (fig is not None)
108 fig = plot_event([model_event, model_event])
109 assert (fig is not None)
118 assert os.path.exists('event.png')
119 assert (fig is None)
121 assert os.path.exists('event.pdf')
134 assert os.path.exists('contrast.png')
[all …]
/dports/misc/hashdb/hashdb-3.1.0-8-g1da1b9f/test_py/
H A Dplot_performance.py17 if os.path.isfile("../src/hashdb"):
20 elif os.path.isfile("../src/hashdb.exe"):
23 elif os.path.isfile("./src/hashdb"):
26 elif os.path.isfile("./src/hashdb.exe"):
52 if os.path.exists(dirname):
76 fig = plot.figure(figsize=plotsize)
77 ax = fig.add_axes([0.20, 0.2, 0.70, 0.70])
87 fig.savefig(out_pdf)
90 fig = plot.figure(figsize=plotsize)
91 ax = fig.add_axes([0.20, 0.2, 0.70, 0.70])
[all …]
/dports/science/py-obspy/obspy-1.2.2/obspy/imaging/
H A Dcm.py237 name, suffix = os.path.splitext(file_name)
238 directory = os.path.dirname(os.path.abspath(
240 directory = os.path.join(directory, "data")
241 full_path = os.path.join(directory, file_name)
280 cm_file_pattern = os.path.join(
281 os.path.abspath(os.path.dirname(
285 filename = os.path.basename(filename)
329 for ax in fig.axes:
334 fig.tight_layout()
416 fig = plt.figure()
[all …]
/dports/games/gnugo/gnugo-3.8/doc/
H A DMakefile.am16 path.eps sync-prod1.eps sync-prod2.eps logo-34.eps \
19 FIG = cdfa.fig dfa.fig dfa2.fig path.fig sync-prod1.fig sync-prod2.fig
21 PNG = cdfa.png dfa.png dfa2.png path.png sync-prod1.png sync-prod2.png
23 JPG = cdfa.jpg dfa.jpg dfa2.jpg oldlogo.jpg path.jpg sync-prod1.jpg \
26 PDF = cdfa.pdf dfa2.pdf dfa.pdf logo-34.pdf path.pdf sync-prod1.pdf \
/dports/print/R-cran-knitr/knitr/man/
H A Dfig_path.Rd17 \code{fig.cur}, if this is available.}
20 A character vector of the form \file{fig.path-label-i.suffix}.
23 The filename of figure files is the combination of options \code{fig.path}
24 and \code{label}. This function returns the path of figures for the current
29 \samp{_}) in the path, they will be automatically replaced with \samp{_}.
34 fig_path(".pdf", options = list(fig.path = "figure/abc-", label = "first-plot"))
35 fig_path(".png", list(fig.path = "foo-", label = "bar"), 1:10)
H A Dfig_chunk.Rd7 fig_chunk(label, ext = "", number, fig.path = opts_chunk$get("fig.path"))
16 \item{fig.path}{Passed to \code{\link{fig_path}}. By default, the chunk
17 option \code{fig.path} is used.}
24 chunk option \code{fig.path}, return the filename(s).
29 code chunk with the label \code{foo} and figure path \file{my-figure/}, you
37 chunk by using the chunk option \code{fig.show = 'hide'}. Then you can use
/dports/science/py-obspy/obspy-1.2.2/obspy/signal/tests/
H A Dtest_spectral_estimation.py502 fig.axes[1].set_xlim(left=fig.axes[1].get_xlim()[0] - 2)
504 fig.savefig(ic.name)
520 fig.axes[1].set_xlim(left=fig.axes[1].get_xlim()[0] - 2)
522 fig.savefig(ic.name)
536 ppsd._plot_histogram(fig=fig, draw=True)
550 ppsd._plot_histogram(fig=fig, draw=True)
552 fig.savefig(ic.name)
563 fig = ppsd.plot(
566 ax = fig.axes[0]
777 fig.savefig(ic.name)
[all …]
/dports/math/py-matplotlib/matplotlib-3.4.3/lib/matplotlib/
H A Danimation.py202 self.fig = fig
434 self.fig = fig
497 self._frame_counter, path)
517 for path in self._temp_paths:
518 path.unlink()
907 for path in self._temp_paths:
908 path.unlink()
1345 path = Path(tmpdir, "temp.m4v")
1352 self.save(str(path), writer=writer)
1398 path = Path(tmpdir, "temp.html")
[all …]

12345678910>>...88