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
Add str/repr formatting options and change defaults accordingly (#4260)
* add str/repr formatting options and change defaults accordingly
+ new options "latex_with_params" and "plain_with_params" replace the current default behavior of including input parameters (going back to default behaviour of the 3.9.3 release)
+ __latex__ and _repr_latex default to "latex_with_params"
+ __str__ and _str_repr default to "plain"
+ new formatting kwarg for model_to_graphviz enables switching between "plain" (default) and "plain_with_params"
* update if conditions, formatting defaults and tests
+ latex formatting should be detected by `if "latex" in formatting` to catch both format options
+ all latex reprs except for an entire model default to "latex_with_params"
+ tests now cover cases with and without params
* consolidate regression test into existing one
+ test_issue_4186 was merged into TestStrAndLatexRepr and now all 4 formatting options are covered.
* check graphviz results with all four formatting options
0 commit comments