Basically, when 'create plot' command is executed, list of examples should be shown.
User should be able to choose one and click 'Enter", then such example will be pasted at current cursor position.
Since plotly documentation has plenty of examples, some additional hierarchical organizing structure is preferable (such as in "community plugin - browse" view).
However, it is better to start with simple list and basic examples.
Basically, when 'create plot' command is executed, list of examples should be shown. User should be able to choose one and click 'Enter", then such example will be pasted at current cursor position.
Since plotly documentation has plenty of examples, some additional hierarchical organizing structure is preferable (such as in "community plugin - browse" view).
However, it is better to start with simple list and basic examples.