From 70ced73a94ff015436f747c14cbbaad9cbaf2114 2015-02-09 22:09:08 From: Min RK Date: 2015-02-09 22:09:08 Subject: [PATCH] Backport PR #7106: Changed the display order of rich output in nbconvert html The notebook rich output display order now matches that of nbconvert. This makes more sense than the other way around due to the need for the that are notebooks already shared on the web to remain consistent. Conversely local notebooks can simply be edited to match the new order. --- diff --git a/IPython/nbconvert/utils/base.py b/IPython/nbconvert/utils/base.py index d6cf2de..bcfcda7 100644 --- a/IPython/nbconvert/utils/base.py +++ b/IPython/nbconvert/utils/base.py @@ -25,7 +25,7 @@ class NbConvertBase(LoggingConfigurable): Useful for display data priority that might be use by many transformers """ - display_data_priority = List(['html', 'application/pdf', 'svg', 'latex', 'png', 'jpg', 'jpeg' , 'text'], + display_data_priority = List(['html', 'application/pdf', 'latex', 'svg', 'png', 'jpg', 'jpeg', 'text'], config=True, help= """ An ordered list of preferred output type, the first