Added legendflex to plots package
Modified miller to have display and export mode