Skip to content
Snippets Groups Projects

Removes all tight_layout calls

Merged Loïc Le Guyader requested to merge no_tight_layout into master
2 unresolved threads
1 file
+ 15
0
Compare changes
  • Side-by-side
  • Inline
+ 15
0
@@ -19,6 +19,21 @@ where in this example 2780 is the proposal number. After this and refreshing the
@@ -19,6 +19,21 @@ where in this example 2780 is the proposal number. After this and refreshing the
browser, a new kernel named ``SCS Toolbox (p002780)`` is available and should
browser, a new kernel named ``SCS Toolbox (p002780)`` is available and should
be used to run jupyter notebooks on the Maxwell Jupyter hub.
be used to run jupyter notebooks on the Maxwell Jupyter hub.
 
Figures setup: enabling matplotlib constrained layout
 
+++++++++++++++++++++++++++++++++++++++++++++++++++++
 
 
To get the best looking figures generated by the SCS Toolbox, you
 
need to enable the experimental constrained_layout_ solver in matplotlib. This
 
is done in jupyter notebook with adding at the start the following lines:
 
 
.. code:: python
 
 
import matplotlib.pyplot as plt
 
plt.rcParams['figure.constrained_layout.use'] = True
 
 
.. _constrained_layout: https://matplotlib.org/stable/tutorials/intermediate/constrainedlayout_guide.html
 
 
Alternative: Manual ToolBox Installation
Alternative: Manual ToolBox Installation
++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++
Loading