save_to_file#
- Hist2d.save_to_file(fname, **savetxt_kwargs)[source]#
Save the histogram to a file.
The first column in the file will be x, the second y, the third z.
- Parameters:
- fname
str Filename, including filetype.
- **savetxt_kwargs
numpy.savetxt()keyword arguments. Useful to, e.g., set a header with theheaderkeyword.
- fname