-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Remove internal option layout.autosize='initial' (Fixes #537) #577
Commits on May 27, 2016
-
autosize: Remove unnecessary guard in plotAutoSize
* Commit 5df675a (fix demo/outside legend bug and null data autoscale bug) introduced a guard in plotAutoSize to avoid calling layoutStyles while autosize is set to 'initial'. * Commit ee974d9 (autosizing in shareplots, autosize aspect ratio restrictions and ...) removed the call to layoutStyles but forgot to remove the guard. * This commit removes the guard. * Checked that all the jasmine and image tests still pass.
Configuration menu - View commit details
-
Copy full SHA for f1415f8 - Browse repository at this point
Copy the full SHA f1415f8View commit details -
autosize: remove internal option 'initial'
* Moved initial call to `plotAutoSize` into `Plots.supplyDefaults(gd)`. * Replaced `{ autosize: 'initial' }` with the flag `gd._fullLayout._initialAutoSizeIsDone`. * `{ autosize: false }` the values of width and height undefined in `gd.layout` will be autosized only once. * `{ autosize: true }` only autosizes the values of width and height undefined in `gd.layout`. Fixes plotly#537
Configuration menu - View commit details
-
Copy full SHA for 3a2c547 - Browse repository at this point
Copy the full SHA 3a2c547View commit details -
autosize: update baseline image
ternary_simple
* Previous image didn't honour the width and height set in the layout.
Configuration menu - View commit details
-
Copy full SHA for f9140b0 - Browse repository at this point
Copy the full SHA f9140b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 206888b - Browse repository at this point
Copy the full SHA 206888bView commit details -
test: add test for issue plotly#537
* Added test to check `Plotly.newPlot` respects `layout.width` and `layout.height`.
Configuration menu - View commit details
-
Copy full SHA for 9c2a0d9 - Browse repository at this point
Copy the full SHA 9c2a0d9View commit details
Commits on Jun 1, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 53d4b90 - Browse repository at this point
Copy the full SHA 53d4b90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61aa240 - Browse repository at this point
Copy the full SHA 61aa240View commit details -
autosize: supplyDefaults accepts plain objects
* Fix bug in `plotAutoSize`, triggered when `autosize` and `frameMagins` are both enabled and `gd` is a plain object. * Ensure `autosize` doesn't set values of width and height smaller than the minimum defined in the corresponding layout attribute.
Configuration menu - View commit details
-
Copy full SHA for a334254 - Browse repository at this point
Copy the full SHA a334254View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7815efe - Browse repository at this point
Copy the full SHA 7815efeView commit details -
autosize: respect config.autosizable
* Do not do the initial autosize if both config.autosizable and layout.autosize are false.
Configuration menu - View commit details
-
Copy full SHA for 7e95d93 - Browse repository at this point
Copy the full SHA 7e95d93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 370ad8b - Browse repository at this point
Copy the full SHA 370ad8bView commit details -
autosize: supplyDefaults accepts plain objects
* Fix bug introduced in the commit for respecting `config.autosizable`.
Configuration menu - View commit details
-
Copy full SHA for 46d7af5 - Browse repository at this point
Copy the full SHA 46d7af5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94f450a - Browse repository at this point
Copy the full SHA 94f450aView commit details
Commits on Jun 7, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b286469 - Browse repository at this point
Copy the full SHA b286469View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49bb2cf - Browse repository at this point
Copy the full SHA 49bb2cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c316ba - Browse repository at this point
Copy the full SHA 0c316baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ed69b1 - Browse repository at this point
Copy the full SHA 3ed69b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 862578e - Browse repository at this point
Copy the full SHA 862578eView commit details -
autosize: restore backwards-compatibility with v1
* Initialise `layout.width` and `layout.height` if `autosize` is false.
Configuration menu - View commit details
-
Copy full SHA for 172d81d - Browse repository at this point
Copy the full SHA 172d81dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42a3ed0 - Browse repository at this point
Copy the full SHA 42a3ed0View commit details -
Configuration menu - View commit details
-
Copy full SHA for de69b3d - Browse repository at this point
Copy the full SHA de69b3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ada5323 - Browse repository at this point
Copy the full SHA ada5323View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc1a970 - Browse repository at this point
Copy the full SHA bc1a970View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6021c43 - Browse repository at this point
Copy the full SHA 6021c43View commit details -
Configuration menu - View commit details
-
Copy full SHA for e822ff7 - Browse repository at this point
Copy the full SHA e822ff7View commit details
Commits on Jun 9, 2016
-
Configuration menu - View commit details
-
Copy full SHA for fbc01c3 - Browse repository at this point
Copy the full SHA fbc01c3View commit details