Skip to content
This repository was archived by the owner on Feb 15, 2020. It is now read-only.

Initial Update #84

Closed
wants to merge 8 commits into from
Closed

Initial Update #84

wants to merge 8 commits into from

Conversation

pyup-bot
Copy link
Contributor

This is my first visit to this fine repo so I have bundled all updates in a single pull request to make things easier for you to merge.

Close this pull request and delete the branch if you want me to start with single pull requests right away

Here's the executive summary:

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

python-mozaggregator 0.2.6.8 » 0.2.6.8 PyPI | Repo
montecarlino 0.1.6 » 0.1.6 PyPI | Repo
boto3 1.4.4 » 1.4.4 PyPI | Changelog | Repo
parquet2hive 0.3.0 » 0.3.0 PyPI | Repo
protobuf 3.1.0 » 3.3.0 PyPI | Changelog | Repo | Homepage
py4j 0.8.2.1 » 0.10.5 PyPI | Homepage
plotly 1.6.16 » 2.0.11 PyPI | Changelog | Homepage
seaborn 0.6.0 » 0.7.1 PyPI | Changelog | Repo

Changelogs

boto3 -> 1.4.4

1.4.3

=====

  • feature:s3: Add ability to disable thread use with use_threads option
  • bugfix:Resource: Fix resource hashing.

1.4.2

=====

  • feature:ec2: Update client to latest version

1.4.1

=====

  • feature:Session: Expose available_profiles property for Session (``704 <https://github.com/boto/boto3/issues/704&gt;`__)
  • bugfix:s3: Fix issue when transfers would not exit quickly from signals
  • bugfix:sqs.Queue: Fix issue in DeadLetterSourceQueues collection

1.4.0

=====

  • feature:DynamoDB: Add request auto de-duplication based on specified primary keys for batch_writer. (605 &lt;https://github.com/boto/boto3/issues/605&gt;__)
  • feature:s3: Add managed file-like object uploads to S3 client, Bucket, and Object.
  • bugfix:Session: Fixed Session.repr region argument name.
  • feature:s3: Add managed copies to S3 client, Bucket, and Object.
  • feature:s3: Add managed downloads to file-like objects in the S3 client, Bucket, and Object.
  • bugfix:s3: Port s3.transfer module to use s3transfer package. Please refer to Upgrading Notes &lt;https://boto3.readthedocs.io/en/latest/guide/upgrading.html&gt;_ when upgrading. In porting the logic over, various performance issues and bugs were fixed.
  • feature:s3: Add io_chunksize parameter to TransferConfig

1.3.1

=====

  • feature:S3: Add custom load to ObjectSummary
  • feature:Session: Add method to get session credentials
  • bugfix:DynamoDB: Ensure batch writer never sends more than flush_amount (483 &lt;https://github.com/boto/boto3/issues/483&gt;__)
  • feature:Resources: Add get_available_subresources to Resources (113 &lt;https://github.com/boto/boto3/issues/113&gt;__)

1.3.0

=====

  • feature:EC2: Update resource model to include Route resources. (issue 532 &lt;https://github.com/boto/boto3/pull/532&gt;__)

1.2.5

=====

  • bugfix:S3: Forward extra_args when using multipart downloads. (issue 503 &lt;https://github.com/boto/boto3/pull/503&gt;__)

1.2.4

=====

  • feature:Session: Add region_name property on session. (issue 414 &lt;https://github.com/boto/boto3/pull/414&gt;__)
  • bugfix:S3: Fix issue with hanging downloads. (issue 471 &lt;https://github.com/boto/boto3/pull/471&gt;__)

1.2.3

=====

  • feature:CloudWatch: Add resource model. (issue 412 &lt;https://github.com/boto/boto3/pull/412&gt;__)
  • feature:S3: Add a start_restore() on Object and ObjectSummary resources. (issue 408 &lt;https://github.com/boto/boto3/pull/408&gt;__)
  • feature:Documentation: Add examples for S3. (issue 402 &lt;https://github.com/boto/boto3/pull/402&gt;__)
  • bugfix:Collections: Fix regression where filters could not be chained. (issue 401 &lt;https://github.com/boto/boto3/pull/401&gt;__)
  • bugfix:S3: Progress callback will be triggered when rewinding stream. (issue 395 &lt;https://github.com/boto/boto3/pull/395&gt;__)

1.2.2

=====

  • feature:Dependencies: Relax version constraint of futures to support version 3.x.
  • feature:Resources: Allow config object to be provided when creating resources (issue 325 &lt;https://github.com/boto/boto3/pull/325&gt;__)
  • feature:Documentation: Add docstrings for resource collections and waiters (issue 267 &lt;https://github.com/boto/boto3/pull/267&gt;, issue 261 &lt;https://github.com/boto/boto3/pull/261&gt;)

1.2.1

=====

  • bugfix:setup.cfg: Fix issue in formatting that broke PyPI distributable

1.2.0

=====

  • feature:Docstrings: Add docstrings for resource identifiers, attributes, references, and subresources. (issue 239 &lt;https://github.com/boto/boto3/pull/239&gt;__)
  • feature:S3: Add ability to configure host addressing style when making requests to Amazon S3. (botocore issue 673 &lt;https://github.com/boto/botocore/pull/673&gt;__)
  • bugfix:IAM: Fix model issue with attached groups, roles, and policies. (issue 304 &lt;https://github.com/boto/boto3/pull/304&gt;__)
  • bugfix:EC2.ServiceResource.create_key_pair: Fix model issue where creating key pair does not have a key_material on KeyPair resource. (issue 290 &lt;https://github.com/boto/boto3/pull/290&gt;__)

1.1.4

=====

  • bugfix:Identifier: Make resource identifiers immutable. (issue 246 &lt;https://github.com/boto/boto3/pull/246&gt;__)
  • feature:S3: Both S3 Bucket and Object obtain upload_file() and download_file() (issue 243 &lt;https://github.com/boto/boto3/pull/243&gt;__)

1.1.3

=====

  • feature:aws storagegateway: Add support for resource tagging.
  • feature:timeouts: Add support for customizable timeouts.

1.1.2

=====

  • feature:session.Session: Add events property to access session's event emitter. (issue 204 &lt;https://github.com/boto/boto3/pull/204&gt;__)
  • bugfix:Glacier.Account: Fix issue with resource model. (issue 196 &lt;https://github.com/boto/boto3/pull/196&gt;__)
  • bugfix:DynamoDB: Fix misspelling of error class to DynamoDBOperationNotSupportedError. (issue 218 &lt;https://github.com/boto/boto3/pull/218&gt;__)

1.1.1

=====

  • bugfix:EC2.ServiceResource.create_tags: Fix issue when creating multiple tags. (issue 160 &lt;https://github.com/boto/boto3/pull/160&gt;__)

1.1.0

=====

  • bugfix:EC2.Vpc.filter: Fix issue with clobbering of Filtering paramter. (issue 154 &lt;https://github.com/boto/boto3/pull/154&gt;__)

0.0.22

======

  • bugfix:s3.client.upload_file: Fix double invocation of callbacks when using signature version 4. (issue 133 &lt;https://github.com/boto/boto3/pull/133&gt;__)
  • bugfix:: s3.Bucket.load (issue 128 &lt;https://github.com/boto/boto3/pull/128&gt;__)

0.0.21

======

  • bugfix:Installation: Fix regression when installing via older versions of pip on python 2.6. (issue 132 &lt;https://github.com/boto/boto3/pull/132&gt;__)

0.0.20

======

  • feature:ec2: Update resource model. (issue 129 &lt;https://github.com/boto/boto3/pull/129&gt;__)

0.0.19

======

  • breakingchange:Collections: Remove the page_count and limit arguments from all(). Undocument support for the two arguments in the filter() method. (issue 119 &lt;https://github.com/boto/boto3/pull/119&gt;__)
  • feature:DynamoDB: Add batch writer. (issue 118 &lt;https://github.com/boto/boto3/pull/118&gt;__)

0.0.18

======

  • feature:DynamoDB: Add document level interface for Table resource (issue 103 &lt;https://github.com/boto/boto3/pull/103&gt;__)
  • feature:DynamoDB: Add ConditionExpression interface for querying and filtering Table resource. (issue 103 &lt;https://github.com/boto/boto3/pull/103&gt;__)
  • feature:Clients: Add support for passing of botocore.client.Config object to instantiation of clients.

0.0.17

======

  • feature:Botocore: Update to Botocore 0.107.0.

0.0.16

======

  • bugfix:Packaging: Fix release sdist and whl files from 0.0.15.
  • feature:Amazon Dynamodb: Add resource model for Amazon DynamoDB.

0.0.15

======

  • bugfix:Packaging: Fix an issue with the Amazon S3 upload_file and download_file customization. (issue 85 &lt;https://github.com/boto/boto3/pull/85&gt;__)
  • bugfix:Resource: Fix an issue with the Amazon S3 BucketNofitication resource.
  • feature:Botocore: Update to Botocore 0.103.0.

0.0.14

======

  • feature:Resources: Update to the latest resource models for
  • feature:Amazon S3: Add an upload_file and download_file to S3 clients that transparently handle parallel multipart transfers.
  • feature:Botocore: Update to Botocore 0.102.0.

0.0.13

======

  • feature:Botocore: Update to Botocore 0.100.0.

0.0.12

======

  • feature:Resources: Add the ability to load resource data from a has relationship. This saves a call to load when available, and otherwise fixes a problem where there was no way to get at certain resource data. (issue 74 &lt;https://github.com/boto/boto3/pull/72&gt;__,
  • feature:Botocore: Update to Botocore 0.99.0

0.0.11

======

  • feature:Resources: Add Amazon EC2 support for ClassicLink actions and add a delete action to EC2 Volume resources.
  • feature:Resources: Add a load operation and user reference to AWS IAM's CurrentUser resource. (issue 72 &lt;https://github.com/boto/boto3/pull/72&gt;__,
  • feature:Resources: Add resources for AWS IAM managed policies. (issue 71 &lt;https://github.com/boto/boto3/pull/71&gt;__)
  • feature:Botocore: Update to Botocore 0.97.0

0.0.10

======

  • bugfix:Documentation: Name collisions are now handled at the resource model layer instead of the factory, meaning that the documentation now uses the correct names. (issue 67 &lt;https://github.com/boto/boto3/pull/67&gt;__)
  • feature:Session: Add a region_name option when creating a session. (issue 69 &lt;https://github.com/boto/boto3/pull/69&gt;, issue 21 &lt;https://github.com/boto/boto3/issues/21&gt;)
  • feature:Botocore: Update to Botocore 0.94.0

0.0.9

=====

  • feature:Botocore: Update to Botocore 0.92.0

0.0.8

=====

  • bugfix:Resources: Fix Amazon S3 resource identifier order. (issue 62 &lt;https://github.com/boto/boto3/pull/62&gt;__)
  • bugfix:Resources: Fix collection resource hydration path. (issue 61 &lt;https://github.com/boto/boto3/pull/61&gt;__)
  • bugfix:Resources: Re-enable service-level access to all resources, allowing e.g. obj = s3.Object(&#39;bucket&#39;, &#39;key&#39;). (issue 60 &lt;https://github.com/boto/boto3/pull/60&gt;__)
  • feature:Botocore: Update to Botocore 0.87.0

0.0.7

=====

  • feature:Resources: Enable support for Amazon Glacier.
  • feature:Resources: Support plural references and nested JMESPath queries for data members when building parameters and identifiers. (issue 52 &lt;https://github.com/boto/boto3/pull/52&gt;__)
  • feature:Resources: Update to the latest resource JSON format. This is a backward-incompatible change as not all resources are exposed at the service level anymore. For example, s3.Object(&#39;bucket&#39;, &#39;key&#39;) is now s3.Bucket(&#39;bucket&#39;).Object(&#39;key&#39;). (issue 51 &lt;https://github.com/boto/boto3/pull/51&gt;__)
  • feature:Resources: Make resource.meta a proper object. This allows you to do things like resource.meta.client. This is a backward- incompatible change. (issue 45 &lt;https://github.com/boto/boto3/pull/45&gt;__)
  • feature:Dependency: Update to JMESPath 0.6.1
  • feature:Botocore: Update to Botocore 0.86.0

0.0.6

=====

  • feature:Amazon SQS: Add purge action to queue resources
  • feature:Waiters: Add documentation for client and resource waiters (issue 44 &lt;https://github.com/boto/boto3/pull/44&gt;__)
  • feature:Waiters: Add support for resource waiters (issue 43 &lt;https://github.com/boto/boto3/pull/43&gt;__)
  • bugfix:Installation: Remove dependency on the unused six module (issue 42 &lt;https://github.com/boto/boto3/pull/42&gt;__)
  • feature:Botocore: Update to Botocore 0.80.0

0.0.5

=====

  • feature:Resources: Add support for batch actions on collections. (issue 32 &lt;https://github.com/boto/boto3/pull/32&gt;__)
  • feature:Botocore: Update to Botocore 0.78.0

0.0.4

=====

  • feature:Botocore: Update to Botocore 0.77.0
  • feature:EC2: Update `Amazon EC2 <http
  • feature:Resources: Support belongsTo resource reference as well as path specified in an action's resource definition.
  • bugfix:SQS: Fix an issue accessing SQS message bodies (issue 33 &lt;https://github.com/boto/boto3/issues/33&gt;__)

0.0.3

=====

  • feature:Botocore: Update to Botocore 0.76.0.

0.0.2

=====

  • feature:Resources: Adds resources for AWS CloudFormation &lt;http://aws.amazon.com/cloudformation/&gt;_ and AWS OpsWorks &lt;http://aws.amazon.com/opsworks/&gt;_.
  • feature:Botocore: Update to Botocore 0.73.0 and JMESPath 0.5.0
  • feature:Clients: Adds support for AWS CodeDeploy &lt;http://aws.amazon.com/codedeploy/&gt;, AWS Config &lt;http://aws.amazon.com/config/&gt;, AWS KMS &lt;http://aws.amazon.com/kms/&gt;, AWS Lambda &lt;http://aws.amazon.com/lambda/&gt;.
  • feature:UserAgent: Make requests with a customized HTTP user-agent

0.0.1

=====

  • feature:Resources: Supports S3, EC2, SQS, SNS, and IAM resources
  • feature:Clients: Supports low-level clients for most services

plotly 1.6.16 -> 2.0.11

2.0.11

Updated

  • Updated plotly.min.js to version 1.28.1 for plotly.offline.
  • See the plotly.js CHANGELOG for additional information regarding the updates.

2.0.10

Added

  • The figure_factory can now create facet grids with .create_facet_grid. Check it out with:
import plotly.figure_factory as ff
help(ff.create_facet_grid)

2.0.9

Fixed

Added

  • 'sort' parameter to FF.create_violin to control whether violin plots are sorted alphabetically.

2.0.8

Added

  • Beta: Added API methods that wrap the API endpoint for managing Dash objects on plot.ly. The API interface is under plotly.api.v2.dash_apps
  • offline embedded plots are now responsive to window resizing when output_type == &quot;div&quot; is set in plotly.offline.iplot().
  • Offline embedded plots are now responsive to window resizing when output_type == &quot;div&quot; is set in plotly.offline.iplot().
  • Offline animations are now supported on Plotly Cloud.

Updated

  • Updated plotly.min.js to version 1.26.0 for plotly.offline.
  • See the plotly.js CHANGELOG for additional information regarding the updates.

Updated

  • plotly.offline.plot and plotly.offline.iplot now accept various configuration options for their arguments.

2.0.7

Updated

  • Updated plotly.min.js to version 1.25.0 for plotly.offline.
  • See the plotly.js CHANGELOG for additional information regarding the updates.

Added

  • Added check to verify the share key is enabled when secret charts are created.

2.0.6

Added

  • Added a new mimetype 'text/vnd.plotly.v1+html' for iplot outputs.

2.0.5

Fixed

  • import plotly was broken in 2.0.3 and 2.0.2 because the new dashboard_objs wasn't included in our setup.py's "packages". Now it is and import plotly and the other features introduced in 2.0.3 and 2.0.2 should work.

2.0.4

Note: This release's installation was broken. It has been removed from PyPI
Added

  • Added dashboard_objs to top level import.

2.0.3

Note: This release's installation was broken. It has been removed from PyPI
Added

  • Dashboards can now be created using the API and uploaded to Plotly. Use import plotly.dashboard_objs to create a Dashboard object. You can learn more about Dashboard objects by running help(plotly.dashboard_objs) and help(plotly.plotly.plotly.dashboard_ops) for uploading and retrieving dashboards from the cloud.

2.0.2

Fixed

  • Offline plots created with plotly.offline.plot now resize as expected when the window is resized.
  • plotly.figure_factory.create_distplot now can support more than 10 traces without raising an error. Updated so that if the list of colors (default colors too) is less than your number of traces, the color for your traces will loop around to start when it hits the end.

2.0.1

Added

Changed

  • a Grid from plotly.grid_objs now accepts a pandas.Dataframe as its argument.
  • computationally-intensive graph_reference functions are memoized.

2.0.0

Changed

  • plotly.exceptions.PlotlyRequestException is always raised for network
    failures. Previously either a PlotlyError, PlotlyRequestException, or a
    requests.exceptions.ReqestException could be raised. In particular, scripts
    which depend on try-except blocks containing network requests should be
    revisited.
  • plotly.py:sign_in now validates to the plotly server specified in your
    config. If it cannot make a successful request, it raises a PlotlyError.
  • plotly.figure_factory will raise an ImportError if numpy is not
    installed.
  • plotly.figure_factory.create_violin() now has a rugplot parameter which
    determines whether or not a rugplot is draw beside each violin plot.

Deprecated

  • plotly.tools.FigureFactory. Use plotly.figure_factory.*.
  • (optional imports) plotly.tools._*_imported It was private anyhow, but now
    it's gone. (e.g., _numpy_imported)
  • (plotly v2 helper) plotly.py._api_v2 It was private anyhow, but now it's
    gone.

1.13.0

Added

  • Python 3.5 has been added as a tested environment for this package.

Updated

  • plotly.plotly.create_animations and plotly.plotly.icreate_animations now return appropriate error messages if the response is not successful.
  • frames are now integrated into GRAPH_REFERENCE and figure validation.

Changed

  • The plot-schema from https://api.plot.ly/plot-schema is no longer updated on import.

1.12.12

Updated

  • Updated plotly.min.js to version 1.20.5 for plotly.offline.
  • See the plotly.js CHANGELOG for additional information regarding the updates.
  • FF.create_scatterplotmatrix now by default does not show the trace labels for the box plots, only if diag=box is selected for the diagonal subplot type.

1.12.11

Fixed

  • The link text in the bottom right corner of the offline plots now properly displays Export to [Domain Name] for the given domain name set in the users' .config file.

1.12.10

Updated

  • FF.create_violin and FF.create_scatterplotmatrix now by default do not print subplot grid information in output
  • Removed alert that occured when downloading plot images offline. Please note: for higher resolution images and more export options, consider making requests to our image servers. See: help(py.image) for more details.

Added

  • Plot configuration options for offline plots. See the list of configuration options and examples for more information.
  • Please note that these configuration options are for offline plots ONLY. For configuration options when embedding online plots please see our embed tutorial.
  • colors.py file which contains functions for manipulating and validating colors and arrays of colors
  • 'scale' param in FF.create_trisurf which now can set the interpolation on the colorscales
  • animations now work in offline mode. By running plotly.offline.plot() and plotly.offline.iplot() with a fig with frames, the resulting plot will cycle through the figures defined in frames either in the browser or in an ipython notebook respectively. Here's an example:
import IPython.display
from IPython.display import display, HTML
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
init_notebook_mode(connected=True)

figure_or_data = {'data': [{'x': [1, 2], 'y': [0, 1]}],
'layout': {'xaxis': {'range': [0, 3], 'autorange': False},
'yaxis': {'range': [0, 20], 'autorange': False},
'title': 'First Title'},
'frames': [{'data': [{'x': [1, 2], 'y': [5, 7]}]},
{'data': [{'x': [-1, 3], 'y': [3, 9]}]},
{'data': [{'x': [2, 2.6], 'y': [7, 5]}]},
{'data': [{'x': [1.5, 3], 'y': [7.5, 4]}]},
{'data': [{'x': [1, 2], 'y': [0, 1]}],
'layout': {'title': 'End Title'}}]}
iplot(figure_or_data)

More examples can be found at https://plot.ly/python/animations/.
- animations now work in online mode: use `plotly.plotly.create_animations` and `plotly.plotly.icreate_animations` which animate a figure with the `frames` argument. Here is a simple example:

import plotly.plotly as py
from plotly.grid_objs import Grid, Column

column_1 = Column([0.5], 'x')
column_2 = Column([0.5], 'y')
column_3 = Column([1.5], 'x2')
column_4 = Column([1.5], 'y2')

grid = Grid([column_1, column_2, column_3, column_4])
py.grid_ops.upload(grid, 'ping_pong_grid', auto_open=False)

create figure
figure = {
'data': [
{
'xsrc': grid.get_column_reference('x'),
'ysrc': grid.get_column_reference('y'),
'mode': 'markers',
}
],
'layout': {'title': 'Ping Pong Animation',
'xaxis': {'range': [0, 2], 'autorange': False},
'yaxis': {'range': [0, 2], 'autorange': False},
'updatemenus': [{
'buttons': [
{'args': [None],
'label': u'Play',
'method': u'animate'}
],
'pad': {'r': 10, 't': 87},
'showactive': False,
'type': 'buttons'
}]},
'frames': [
{
'data': [
{
'xsrc': grid.get_column_reference('x2'),
'ysrc': grid.get_column_reference('y2'),
'mode': 'markers',
}
]
},
{
'data': [
{
'xsrc': grid.get_column_reference('x'),
'ysrc': grid.get_column_reference('y'),
'mode': 'markers',
}
]
}
]
}

py.create_animations(figure, 'ping_pong')

Fixed

  • Trisurf now uses correct Plotly Colorscales when called
  • Fixed a bug in the format of unique-identifiers in columns of grids that are uploaded to plotly via plotly.plotly.upload. See Fix iplot offline plotly/plotly.py#599 for details. In particular, creating plots that are based off of plotly grids is no longer broken. Here is an example:
import plotly.plotly as py
from plotly.grid_objs import Grid, Column

c1 = Column([6, 6, 6, 5], 'column 1')
c2 = Column(['a', 'b', 'c', 'd'], 'column 2')
g = Grid([c1, c2])

Upload the grid
py.grid_ops.upload(g, 'my-grid', auto_open=False)

Make a graph that with data that is referenced from that grid
trace = Scatter(xsrc=g[0], ysrc=g[1])
url = py.plot([trace], filename='my-plot')

Then, whenever you update the data in `&#39;my-grid&#39;`, the associated plot will update too. See https://plot.ly/python/data-api for more details on usage and examples.

1.12.9

Fixed

  • the colorbar in .create_trisurf now displays properly in offline mode.

Updated

  • the colorbar in .create_trisurf now displays the appropriate max and min values on the ends of the bar which corresponding to the coloring metric of the figure
  • edges_color is now a param in .create_trisurf which only takes rgb values at the moment

1.12.8

Fixed

  • Fixed color bug with trisurf plots where certain triangles were colored strangely. The coordinates of rgb(...) are now rounded to their nearest integer (using Python3 method of rounding), then placed in the color string to fix the issue.

1.12.7

Fixed

  • Edited plotly.min.js due to issue using iplot to plot offline in Jupyter Notebooks
  • Please note that plotly.min.js may be cached in your Jupyter Notebook. Therefore, if you continue to experience this issue after upgrading the Plotly package please open a new notebook or clear the cache to ensure the correct plotly.min.js is referenced.

1.12.6

Updated

  • Updated plotly.min.js from 1.14.1 to 1.16.2
  • Trace type scattermapbox is now part of the main bundle
  • Add updatemenus (aka dropdowns) layout components
  • See the plotly.js CHANGELOG for additional information regarding the updates

1.12.5

Updated

  • .create_trisurf now supports a visible colorbar for the trisurf plots. Check out the docs for help:
import plotly.tools as tls
help(tls.FigureFactory.create_trisurf)

1.12.4

Added

  • The FigureFactory can now create 2D-density charts with .create_2D_density. Check it out with:
import plotly.tools as tls
help(tls.FigureFactory.create_2D_density)

1.12.3

Updated

  • Updated plotly.min.js from 1.13.0 to 1.14.1
  • Numerous additions and changes where made to the mapbox layout layers attributes
  • Attribute line.color in scatter3d traces now support color scales
  • Layout shapes can now be moved and resized (except for 'path' shapes) in editable contexts
  • See the plotly.js CHANGELOG for additional information regarding the updates
  • Updated default-schema

Added

  • Added update_plotlyjs_for_offline in makefile in order to automate updating plotly.min.js for offline mode

1.12.2

Updated

  • Updated plotly.min.js so the offline mode is using plotly.js v1.13.0
  • Fix Plotly.toImage and Plotly.downloadImage bug specific to Chrome 51 on OSX
  • Beta version of the scattermapbox trace type - which allows users to create mapbox-gl maps using the plotly.js API. Note that scattermapbox is only available through custom bundling in this release.
  • See the plotly.js CHANGELOG for additional additions and updates.

Added

  • The FigureFactory can now create gantt charts with .create_gantt. Check it out with:
import plotly.tools as tls
help(tls.FigureFactory.create_gantt)
  • Ability to download images in offline mode. By providing an extra keyword image to the existing plot calls, you can now download the images of the plots you make in offline mode.

Fixed

  • Fixed check for the height parameter passed to _plot_html, and now sets the correct link text for plots
    generated in offline mode.

1.12.1

Added

  • The FigureFactory can now create violin plots with .create_violin. Check it out with:
import plotly.tools as tls
help(tls.FigureFactory.create_violin)

1.12.0

Added

  • Added ability to enable/disable SSL certificate verification for streaming. Disabling SSL certification verification requires Python v2.7.9 / v3.4.3 (or above). This feature can be toggled via the plotly_ssl_verification configuration setting.

1.11.0

Updated

  • Changed the default option for create_distplot in the figure factory from probability to probability density and also added the histnorm parameter to allow the user to choose between the two options.
    Note: This is a backwards incompatible change.
  • Updated plotly.min.js so the offline mode is using plotly.js v1.12.0
  • Light position is now configurable in surface traces
  • surface and mesh3d lighting attributes are now accompanied with comprehensive descriptions
  • Allowed create_scatterplotmatrix and create_trisurf to use divergent and categorical colormaps. The parameter palette has been replaced by colormap and use_palette has been removed. In create_scatterplotmatrix, users can now:
  • Input a list of different color types (hex, tuple, rgb) to colormap to map colors divergently
  • Use the same list to categorically group the items in the index column
  • Pass a singlton color type to colormap to color all the data with one color
  • Input a dictionary to colormap to map index values to a specific color
  • 'cat' and 'seq' are valid options for colormap_type, which specify the type of colormap being used
  • In create_trisurf, the parameter dist_func has been replaced by color_func. Users can now:
  • Input a list of different color types (hex, tuple, rgb) to colormap to map colors divergently
  • Input a list|array of hex and rgb colors to color_func to assign each simplex to a color

Added

  • Added the option to load plotly.js from a CDN by setting the parameter connected=True
    in the init_notebook_mode() function call
  • The FigureFactory can now create trisurf plots with .create_trisurf. Check it out with:
import plotly.tools as tls
help(tls.FigureFactory.create_trisurf)

1.10.0

making an iplot call. It makes init_notebook_mode idempotent: you can call
it multiple times without worrying about losing your plots on refresh.

1.9.13

Fixed

  • Fixed issue in offline mode related to the inability to reload plotly.js on page refresh and extra init_notebook_mode calls.

1.9.12

Added

  • SSL support for streaming.

1.9.11

Added

  • The FigureFactory can now create scatter plot matrices with .create_scatterplotmatrix. Check it out with:
import plotly.tools as tls
help(tls.FigureFactory.create_scatterplotmatrix)

1.9.10

Updated

  • Updated plotly.min.js so the offline mode is using plotly.js v1.10.0
  • Added beta versions of two new 2D WebGL trace types: heatmapgl, contourgl
  • Added fills for scatterternary traces
  • Added configurable shapes layer positioning with the shape attribute: layer

1.9.9

Fixed

  • Fixed require is not defined issue when plotting offline outside of Ipython Notebooks.

1.9.8

Fixed

  • Error no longer results from a "Run All" cells when working in a Jupyter Notebook.

Updated

  • Updated plotly.min.js so offline is using plotly.js v1.9.0
  • Added Ternary plots with support for scatter traces (trace type scatterternary, currently only available in offline mode)
  • For comprehensive update list see the plotly.js CHANGELOG

1.9.7

Fixed

  • Offline mode will no longer delete the Jupyter Notebook's require, requirejs, and define variables.

Updated

  • Updated plotly.min.js so offline is using plotly.js v1.8.0
  • Added range selector functionality for cartesian plots
  • Added range slider functionality for scatter traces
  • Added custom surface color functionality
  • Added ability to subplot multiple graph types (SVG cartesian, 3D, maps, pie charts)
  • For comprehensive update list see the plotly.js CHANGELOG

1.9.6

Updated

  • Updated plotly.min.js so offline is using plotly.js v1.5.2

1.9.5

Added

  • Offline matplotlib to Plotly figure conversion. Use offline.plot_mpl to convert and plot a matplotlib figure as a Plotly figure independently of IPython/Jupyter notebooks or use offline.iplot_mpl to convert and plot inside of IPython/Jupyter notebooks. Additionally, use offline.enable_mpl_offline to convert and plot all matplotlib figures as plotly figures inside an IPython/Jupyter notebook. See examples below:

An example independent of IPython/Jupyter notebooks:

from plotly.offline import init_notebook_mode, plot_mpl
import matplotlib.pyplot as plt

init_notebook_mode()

fig = plt.figure()
x = [10, 15, 20]
y = [100, 150, 200]
plt.plot(x, y, "o")

plot_mpl(fig)

An example inside of an IPython/Jupyter notebook:

from plotly.offline import init_notebook_mode, iplot_mpl
import matplotlib.pyplot as plt

init_notebook_mode()

fig = plt.figure()
x = [10, 15, 20]
y = [100, 150, 200]
plt.plot(x, y, "o")

iplot_mpl(fig)

An example of enabling all matplotlib figures to be converted to
Plotly figures inside of an IPython/Jupyter notebook:

from plotly.offline import init_notebook_mode, enable_mpl_offline
import matplotlib.pyplot as plt

init_notebook_mode()
enable_mpl_offline()

fig = plt.figure()
x = [10, 15, 20, 25, 30]
y = [100, 250, 200, 150, 300]
plt.plot(x, y, "o")
fig

1.9.4

Added

  • Offline plotting now works outside of the IPython/Jupyter notebook. Here's an example:
from plotly.offline import plot
from plotly.graph_objs import Scatter

plot([Scatter(x=[1, 2, 3], y=[3, 1, 6])])

This command works entirely locally. It writes to a local HTML file with the necessary plotly.js code to render the graph. Your browser will open the file after you make the call.

The call signature is very similar to plotly.offline.iplot and plotly.plotly.plot and plotly.plotly.iplot, so you can basically use these commands interchangeably.

If you want to publish your graphs to the web, use plotly.plotly.plot, as in:

import plotly.plotly as py
from plotly.graph_objs import Scatter

py.plot([Scatter(x=[1, 2, 3], y=[5, 1, 6])])

This will upload the graph to your online plotly account.

1.9.3

Added

  • Check for no_proxy when determining if the streaming request should pass through a proxy in the chunked_requests submodule. Example: no_proxy=&#39;my_stream_url&#39; and http_proxy=my.proxy.ip:1234, then my_stream_url will not get proxied. Previously it would.

1.9.2

Bug Fix: Previously, the "Export to plot.ly" link on
offline charts would export your figures to the
public plotly cloud, even if your config_file
(set with plotly.tools.set_config_file to the file
~/.plotly/.config) set plotly_domain to a plotly enterprise
URL like https://plotly.acme.com.

This is now fixed. Your graphs will be exported to your
plotly_domain if it is set.

1.9.1

Added

  • The FigureFactory can now create annotated heatmaps with .create_annotated_heatmap. Check it out with:
import plotly.tools as tls
help(tls.FigureFactory.create_annotated_heatmap)
  • The FigureFactory can now create tables with .create_table.
import plotly.tools as tls
help(tls.FigureFactory.create_table)

1.9.0

  • Previously, using plotly offline required a paid license.
    No more: plotly.js is now shipped inside this package to allow
    unlimited free use of plotly inside the ipython notebook environment.
    The plotly.js library that is included in this package is free,
    open source, and maintained independently on GitHub at
    https://github.com/plotly/plotly.js.
  • The plotly.js bundle that is required for offline use is no longer downloaded
    and installed independently from this package: plotly.offline.download_plotlyjs
    is deprecated.
  • New versions of plotly.js will be tested and incorporated
    into this package as new versioned pip releases;
    plotly.js is not automatically kept in sync with this package.

1.8.12

  • Big data warning mentions plotly.graph_objs.Scattergl as possible solution.

1.8.9

1.8.8

  • Sometimes creating a graph with a private share-key doesn't work -
    the graph is private, but not accessible with the share key.
    Now we check to see if it didn't work, and re-try a few times until
    it does.

1.8.7

Added

  • The FigureFactory can now create dendrogram plots with .create_dendrogram.

1.8.6

Fixed

  • Saving "world_readable" to your config file via plotly.tools.set_config actually works.

Added

  • You can also save auto_open and sharing to the config file so that you can forget these
    keyword argument in py.iplot and py.plot.

1.8.5

Fixed

  • Fixed validation errors (validate=False workaround no longer required)

Added

  • Auto-sync API request on import to get the latest schema from Plotly
  • .-access for nested attributes in plotly graph objects
  • General .help() method for plotly graph objects
  • Specific attribute .help(&lt;attribute&gt;) also included

Removed

  • No more is streamable, streaming validation.

1.8.3

Fixed

  • Fixed typos in plot and iplot documentations

1.8.2

Added

  • CHANGELOG
  • sharing keyword argument for plotly.plotly.plot and plotly.plotly.iplot with options &#39;public&#39; | &#39;private&#39; | &#39;secret&#39; to control the privacy of the charts. Depreciates world_readable

Changed

  • If the response from plot or iplot contains an error message, raise an exception

Removed

  • height and width are no longer accepted in iplot. Just stick them into your figure's layout instead, it'll be more consistent when you view it outside of the IPython notebook environment. So, instead of this:
py.iplot([{&#39;x&#39;: [1, 2, 3], &#39;y&#39;: [3, 1, 5]}], height=800)

do this:

py.iplot({
  &#39;data&#39;: [{&#39;x&#39;: [1, 2, 3], &#39;y&#39;: [3, 1, 5]}],
  &#39;layout&#39;: {&#39;height&#39;: 800}
})

Fixed

  • The height of the graph in iplot respects the figure's height in layout

seaborn 0.6.0 -> 0.7.1

0.7.1

  • Added the ability to put "caps" on the error bars that are drawn by barplot or pointplot (and, by extension, factorplot). Additionally, the line width of the error bars can now be controlled. These changes involve the new parameters capsize and errwidth. See the github pull request for examples of usage.
  • Improved the row and column colors display in clustermap. It
    is now possible to pass Pandas objects for these elements and, when possible, the semantic information in the Pandas objects will be used to add labels to the plot. When Pandas objects are used, the color data is matched against the main heatmap based on the index, not on position. This is more accurate, but it may lead to different results if current code assumed positional matching.
  • Improved the luminance calculation that determines the annotation color in heatmap.
  • The annot parameter of heatmap now accepts a rectangular dataset in addition to a boolean value. If a dataset is passed, its values will be used for the annotations, while the main dataset will be used for the heatmap cell colors.
  • Fixed a bug in FacetGrid that appeared when using col_wrap with missing col levels.
  • Made it possible to pass a tick locator object to the heatmap colorbar.
  • Made it possible to use different styles (e.g., step) for PairGrid histograms when there are multiple hue levels.
  • Fixed a bug in scipy-based univariate kernel density bandwidth calculation.
  • The reset_orig function (and, by extension, importing seaborn.apionly) resets matplotlib rcParams to their values at the time seaborn itself was imported, which should work better with rcParams changed by the jupyter notebook backend.
  • Removed some objects from the top-level seaborn namespace.
  • Improved unicode compatibility in FacetGrid.

0.7.0

This is a major release from 0.6. The main new feature is swarmplot which implements the beeswarm approach for drawing categorical scatterplots. There are also some performance improvements, bug fixes, and updates for compatibility with new versions of dependencies.

  • Added the swarmplot function, which draws beeswarm plots. These are
    categorical scatterplots, similar to those produced by stripplot,
    but position of the points on the categorical axis is chosen to
    avoid overlapping points. See the
    categorical plot tutorial for more
    information.
  • Added an additional rule when determining category order in
    categorical plots. Now, when numeric variables are used in a
    categorical role, the default behavior is to sort the unique levels
    of the variable (i.e they will be in proper numerical order). This
    can still be overridden by the appropriate {*_}order parameter,
    and variables with a category datatype will still follow the
    category order even if the levels are strictly numerical.
  • Changed some of the stripplot defaults to be closer to swarmplot.
    Points are somewhat smaller, have no outlines, and are not split by
    default when using hue.
  • Changed how stripplot draws points when using hue nesting with
    split=False so that the different hue levels are not drawn
    strictly on top of each other.
  • Improve performance for large dendrograms in clustermap.
  • Added font.size to the plotting context definition so that the
    default output from plt.text will be scaled appropriately.
  • Fixed a bug in clustermap when fastcluster is not installed.
  • Fixed a bug in the zscore calculation in clustermap.
  • Fixed a bug in distplot where sometimes the default number of bins
    would not be an integer.
  • Fixed a bug in stripplot where a legend item would not appear for a
    hue level if there were no observations in the first group of
    points.
  • Heatmap colorbars are now rasterized for better performance in
    vector plots.
  • Added workarounds for some matplotlib boxplot issues, such as
    strange colors of outlier points.
  • Added workarounds for an issue where violinplot edges would be
    missing or have random colors.
  • Added a workaround for an issue where only one heatmap cell would be
    annotated on some matplotlib backends.
  • Fixed a bug on newer versions of matplotlib where a colormap would
    be erroneously applied to scatterplots with only three observations.
  • Updated seaborn for compatibility with matplotlib 1.5.
  • Added compatibility for various IPython (and Jupyter) versions in
    functions that use widgets.

Once you have closed this pull request, I'll create separate pull requests for every update as soon as I find them.

That's it for now!

Happy merging! 🤖

@robhudson robhudson closed this Jun 30, 2017
@mozsvcpyup mozsvcpyup deleted the pyup-initial-update branch June 30, 2017 17:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants