Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templates (themes) integration #1224

Merged
merged 34 commits into from
Oct 23, 2018
Merged

Templates (themes) integration #1224

merged 34 commits into from
Oct 23, 2018

Commits on Oct 6, 2018

  1. Configuration menu
    Copy the full SHA
    106426e View commit details
    Browse the repository at this point in the history
  2. Updated codegen to add support for elementdefaults properties

    e.g. `layout.template.layout.annotationdefaults`
    jonmmease committed Oct 6, 2018
    Configuration menu
    Copy the full SHA
    afaaec8 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2018

  1. Configuration menu
    Copy the full SHA
    e426808 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08e095b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f84c8a5 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2018

  1. Implementation of plotly.io.templates configuration object

    Supports registering/unregistering templates and setting default template
    
    layout.template can now be specified as the name of a template, and
    if layout.template is not specified, then a registered default is applied
    during figure construction.
    jonmmease committed Oct 8, 2018
    Configuration menu
    Copy the full SHA
    01d5fa7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db58685 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2018

  1. plotly.io.to_templated function

    This inputs a figure and outputs a new figure where all eligible
    properties have been moved into the new figure's template definition
    
    By default properties named 'text' and 'title' are note moved into the
    template, but this can be customized using the `skip` argument.
    jonmmease committed Oct 9, 2018
    Configuration menu
    Copy the full SHA
    ae51ae1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f94b4a7 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2018

  1. Support specifying flaglist of named templates to be merged together

    fig.layout.template = 'template1+template2'
    jonmmease committed Oct 10, 2018
    Configuration menu
    Copy the full SHA
    7fffd41 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9955bb4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3dc8cde View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2018

  1. Added initial ggplot2 theme

    and logic to lazily load theme from file on first use
    jonmmease committed Oct 11, 2018
    Configuration menu
    Copy the full SHA
    8ddc56f View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2018

  1. Configuration menu
    Copy the full SHA
    a0a73c6 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2018

  1. Configuration menu
    Copy the full SHA
    27690b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    adda2b9 View commit details
    Browse the repository at this point in the history
  3. Elide template in figure representation since these are typically

    going to be pretty large
    jonmmease committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    d13032b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    09972fc View commit details
    Browse the repository at this point in the history
  5. Rename plotly_light -> plotly, plotly_light2 -> plotly_white

    decimate bmw colorscale in plotly templates to save space and reduce
    plotting latency.
    jonmmease committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    ceb0e6c View commit details
    Browse the repository at this point in the history
  6. Set autocolorscale to false in templates to make sure template

    colorscale is used across trace types.
    
    Also crop bwm colorscale slightly so that it has better contrast on both
    light and dark themes. No it doesn't go quite as close to black or as
    close to white.
    jonmmease committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    e6fabe9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a025e79 View commit details
    Browse the repository at this point in the history
  8. Added 'presentation' template that can be used to increase the size

    of text and lines/markers for several trace types.
    jonmmease committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    4103057 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b7bfcb7 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2018

  1. Test fixes

    jonmmease committed Oct 14, 2018
    Configuration menu
    Copy the full SHA
    0d9ec88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    798168f View commit details
    Browse the repository at this point in the history
  3. Only compare EPS images

    There is still some non-determinism with raster image formats, and
    eps is enough to execute the full orca pipeline
    jonmmease committed Oct 14, 2018
    Configuration menu
    Copy the full SHA
    aaa66b8 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2018

  1. Added xgrid template to re-enable to xgrid lines that are off by default

    in the plotly_* templates
    jonmmease committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    76a69cb View commit details
    Browse the repository at this point in the history
  2. Leave x-grid on by default in all templates and add xgridoff template

    that can be added to turn it off if desired.
    jonmmease committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    58143da View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2018

  1. Template refinements with interpolated colors

     - Slightly lighten background grid in plotly template
     - Slightly darken grid lines in plotly_dark template
     - Don't explicitly enable xgrid/ygrid in plotly* templates, let
       plotly.js decide.
    jonmmease committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    3222b67 View commit details
    Browse the repository at this point in the history
  2. Initialize fig.layout.template in BaseFigure constructor

    This way fig.layout.template won't be None after Figure is constructed
    jonmmease committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    ee318c6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bc0ca2a View commit details
    Browse the repository at this point in the history
  4. Code review updates

    jonmmease committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    13f623c View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2018

  1. Configuration menu
    Copy the full SHA
    5b0e461 View commit details
    Browse the repository at this point in the history
  2. Make zerolines same color as grid lines with heavier weight in plotly…

    …* templates
    
    This makes zero lines less distracting when not helpful, while still
    making it fairly easy to focus on them when desired.
    jonmmease committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    5c34bb5 View commit details
    Browse the repository at this point in the history