Some differences between plotly ans pgfplots
We gather here some points that are different between a plotly figure and the corresponding tikz figure generated with tikzplotly
.
- Size of the objects: in plotly, the size is given in
px
unit, while in tikz it is given inpt
. A conversion is performed (1 px = 0.75 pt
), but this still results in objects of different sizes. - By default, the colors or the markers are not the same in plotly and pgfplots. For instance, if nothing is specified, plotly will always use a dot marker, while pgfplot will change for each trace.
- The order of displaying the traces may be unconsistent between plotly and pgfplots. For instance, for this example, the two traces are inverted.