-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from thomas-saigre/16-integer-marker-bug
16 integer marker bug
- Loading branch information
Showing
13 changed files
with
245 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "tikzplotly" | ||
version = "0.1.6" | ||
version = "0.1.7" | ||
description = "Convert plotly figures to LaTeX / tikz figures" | ||
readme = "README.md" | ||
authors = [{name = "Thomas Saigre", email = "[email protected]"}] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.1.6" | ||
__version__ = "0.1.7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
\begin{tikzpicture} | ||
|
||
|
||
\begin{axis}[ | ||
y dir=reverse | ||
] | ||
\addplot coordinates {}; | ||
\end{axis} | ||
\end{tikzpicture} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
tests/test_scatter/test_scatter_6_False_True_reference.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
\pgfplotstableread{data0 y0 | ||
0 0 | ||
1 1 | ||
2 2 | ||
3 3 | ||
4 4 | ||
}\dataZ | ||
|
||
\begin{tikzpicture} | ||
|
||
\definecolor{636efa}{HTML}{636efa} | ||
|
||
\begin{axis}[ | ||
xlabel=x, | ||
ylabel=y | ||
] | ||
\addplot+ [mark=*, only marks, mark options={solid, fill=636efa}, forget plot] table[y=y0] {\dataZ}; | ||
\end{axis} | ||
\end{tikzpicture} |
19 changes: 19 additions & 0 deletions
19
tests/test_scatter/test_scatter_6_True_False_reference.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
\pgfplotstableread{data0 y0 | ||
0 0 | ||
1 1 | ||
2 4 | ||
3 9 | ||
4 16 | ||
}\dataZ | ||
|
||
\begin{tikzpicture} | ||
|
||
\definecolor{636efa}{HTML}{636efa} | ||
|
||
\begin{axis}[ | ||
xlabel=x, | ||
ylabel=y | ||
] | ||
\addplot+ [mark=*, only marks, mark options={solid, fill=636efa}, forget plot] table[y=y0] {\dataZ}; | ||
\end{axis} | ||
\end{tikzpicture} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
\begin{tikzpicture} | ||
|
||
|
||
\begin{axis}[ | ||
xlabel=x, | ||
ylabel=y | ||
] | ||
\addplot coordinates {}; | ||
\end{axis} | ||
\end{tikzpicture} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import tikzplotly | ||
import plotly.express as px | ||
|
||
def test_tikzplotly(): | ||
fig = px.scatter(x=[1, 2, 3], y=[1, 2, 3]) | ||
tikzplotly.save("/tmp/tikzplotly/test_tikzplotly.tex", fig) |