You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "problem" here is that the options for e.g. the Axis are very far away from the start of the Axis command. In .tex, the options are close to the begin{axis}. Perhaps one should be able to use a keyword argument or dispatch on the type. The problem with dispatching on the type is of course something like Axis("foo", "bar")...
The text was updated successfully, but these errors were encountered:
We should think hard about unifying constructor syntax for Axis, Plot, Table, Coordinates, etc. These take a combination of keyword => value pairs, associative collections which are sometimes options, vectors and matrices, etc. This leads to many combinations, and sometimes validation happens only with print_tex.
We could require that all options are put in a wrapper type, eg Options (could still be OrderedDict internally), which can then be dispatched on. @pgf would produce this wrapper automatically.
Here is an example:
The "problem" here is that the options for e.g. the
Axis
are very far away from the start of theAxis
command. In .tex, the options are close to thebegin{axis}
. Perhaps one should be able to use a keyword argument or dispatch on the type. The problem with dispatching on the type is of course something likeAxis("foo", "bar")
...The text was updated successfully, but these errors were encountered: