[yt-svn] [yt_analysis/yt] PlotWindow save() filename parsing (issue #439)
Sam Skillman
issues-reply at bitbucket.org
Fri Oct 12 10:35:11 PDT 2012
--- you can reply above this line ---
New issue 439: PlotWindow save() filename parsing
https://bitbucket.org/yt_analysis/yt/issue/439/plotwindow-save-filename-parsing
Sam Skillman:
Currently the save() command does not correctly parse dataset filenames that have name.other_text.extension, thinking that other_text is the extension.
athena/jzuhone:yt plot -f density test.data.gdf
#!python
Traceback (most recent call last):
File "/home/skillman/local/bin/yt", line 9, in <module>
load_entry_point('yt==2.5dev', 'console_scripts', 'yt')()
File "/home/skillman/local/src/yt-hg/yt/utilities/command_line.py", line 1578, in run_main
args.func(args)
File "/home/skillman/local/src/yt-hg/yt/utilities/command_line.py", line 97, in run
self(args)
File "/home/skillman/local/src/yt-hg/yt/utilities/command_line.py", line 1286, in __call__
plt.save(os.path.join(args.output,"%s" % (pf)))
File "/home/skillman/local/src/yt-hg/yt/visualization/plot_window.py", line 864, in save
names.append(v.save(name,mpl_kwargs))
File "/home/skillman/local/src/yt-hg/yt/visualization/plot_window.py", line 1432, in save
canvas.print_figure(name,**mpl_kwargs)
File "/home/skillman/local/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 1947, in print_figure
print_method = self._get_print_method(format)
File "/home/skillman/local/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 1887, in _get_print_method
'%s.' % (format, ', '.join(formats)))
ValueError: Format "data" is not supported.
Supported formats: emf, eps, pdf, png, ps, raw, rgba, svg, svgz.
Responsible: ngoldbaum
--
This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.
More information about the yt-svn
mailing list