BUG FIX: model.smart_fit() with component with free_energy_shift raised
an error
BUG-FIX: fixes #59
Add example to doc in model.fit_component
BUG-FIX: when a parameter was twinned its connected functions were not being honoured by its twin
BUG-FIX: attempting to draw an inexistent canvas was raising an error that was stopping the execution of some functions later in the chain without raising an exception to the user
Merge branch 'master' into plot_model_components
BUG-FIX: auto_update plot was not re-enabled by after calling fit
Remove Model.auto_update_plot and Parameter.connection_active attributes that were causing difficult to debug problems
Changes to plot_components
Merge branch 'master' into plot_model_components
Add plot_combined and plot_spectrum flags to plot_components
Merge branch 'master' into gui_fit_model_components
Fix bug in ComponentFit after bug-fixes elsewhere
Merge branch 'gui_fit_model_components' into plot_model_components
Implement saving to file in plot_components
More plot_components changes
Add save_to_file in model.py
Rename save_as_file in model.py to get_model_as_dict.

Can now get the model as an npz file.
Changed model.generate_spectrum_from_components to use model_cube,
meaning it can now support multidimensional spectra.