Skip to content

Commit 448dbae

Browse files
committed
save data as .dat, not .tsv
1 parent c734ed4 commit 448dbae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/tikzplotlib/_line2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def _table(obj, data): # noqa: C901
286286
plot_table.append(f"{x:{xformat}}{col_sep}{y:{ff}}{table_row_sep}")
287287

288288
if data["externalize tables"]:
289-
filepath, rel_filepath = _files.new_filepath(data, "table", ".tsv")
289+
filepath, rel_filepath = _files.new_filepath(data, "table", ".dat")
290290
with open(filepath, "w") as f:
291291
# No encoding handling required: plot_table is only ASCII
292292
f.write("".join(plot_table))

src/tikzplotlib/_save.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ def get_tikz_code(
7272
the LaTeX file to the data.
7373
:type tex_relative_path_to_data: str
7474
75-
:param externalize_tables: Whether or not to externalize plot data tables into tsv
75+
:param externalize_tables: Whether or not to externalize plot data tables into dat
7676
files.
7777
:type externalize_tables: bool
7878
7979
:param override_externals: Whether or not to override existing external files (such
80-
as tsv or images) with conflicting names (the alternative
80+
as dat or images) with conflicting names (the alternative
8181
is to choose other names).
8282
:type override_externals: bool
8383

0 commit comments

Comments
 (0)