<commit_before>{
 "metadata": {
  "name": "",
  "signature": "sha256:d610979d103a2c24a4dd81ba6c84998277b909ee32de76685ff8af85e132e8bf"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import plotly.plotly as py\n",
      "import plotly.tools as tls\n",
      "from plotly.graph_objs import *\n",
      "import numpy as np\n",
      "fig = tls.get_subplots(1,2)\n",
      "fig"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "metadata": {},
       "output_type": "pyout",
       "prompt_number": 3,
       "text": [
        "{'data': [],\n",
        " 'layout': {'xaxis1': {'anchor': 'y1', 'domain': [0.0, 0.45]},\n",
        "  'xaxis2': {'anchor': 'y2', 'domain': [0.55, 1.0]},\n",
        "  'yaxis1': {'anchor': 'x1', 'domain': [0.0, 1.0]},\n",
        "  'yaxis2': {'anchor': 'x2', 'domain': [0.0, 1.0]}}}"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "py.sign_in('pythonapi', 'ubpiol2cve')\n",
      "x=np.random.randn(1000)\n",
      "y=np.random.randn(1000)\n",
      "fig['data'] += [Histogram(x=x, xaxis='x1', yaxis='y1'), Histogram(y=y, xaxis='x2', yaxis='y2')]\n",
      "py.iplot(fig, filename='iss-histogram')"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "html": [
        "<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\"seamless=\"seamless\" src=\"https://plot.ly/~PythonAPI/162\" height=\"525\" width=\"100%\"></iframe>"
       ],
       "metadata": {},
       "output_type": "display_data",
       "text": [
        "<IPython.core.display.HTML at 0x1082f8bd0>"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [],
     "language": "python",
     "metadata": {},
     "outputs": []
    }
   ],
   "metadata": {}
  }
 ]
}<commit_msg>Added old method of making histograms for comparison in NB, works.<commit_after>{
 "metadata": {
  "name": "",
  "signature": "sha256:0b5b15b3a07c5d0ce57303bdcccd8700872ca8c833b6df8948b6de49c245af57"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import plotly.plotly as py\n",
      "import plotly.tools as tls\n",
      "from plotly.graph_objs import *\n",
      "import numpy as np\n",
      "fig = tls.get_subplots(1,2)\n",
      "fig"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "metadata": {},
       "output_type": "pyout",
       "prompt_number": 7,
       "text": [
        "{'data': [],\n",
        " 'layout': {'xaxis1': {'anchor': 'y1', 'domain': [0.0, 0.45]},\n",
        "  'xaxis2': {'anchor': 'y2', 'domain': [0.55, 1.0]},\n",
        "  'yaxis1': {'anchor': 'x1', 'domain': [0.0, 1.0]},\n",
        "  'yaxis2': {'anchor': 'x2', 'domain': [0.0, 1.0]}}}"
       ]
      }
     ],
     "prompt_number": 7
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "py.sign_in('pythonapi', 'ubpiol2cve')\n",
      "x=np.random.randn(1000)\n",
      "y=np.random.randn(1000)\n",
      "fig['data'] = Data([Histogram(x=x, xaxis='x1', yaxis='y1'), Histogram(y=y, xaxis='x2', yaxis='y2')])\n",
      "py.iplot(fig, filename='iss-histogram')"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "html": [
        "<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\"seamless=\"seamless\" src=\"https://plot.ly/~PythonAPI/162\" height=\"525\" width=\"100%\"></iframe>"
       ],
       "metadata": {},
       "output_type": "display_data",
       "text": [
        "<IPython.core.display.HTML at 0x107281210>"
       ]
      }
     ],
     "prompt_number": 8
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "fig['data'] = Data([Trace(type='histogramx', x=x, xaxis='x1', yaxis='y1'), Trace(type='histogramy', y=y, xaxis='x2', yaxis='y2')])\n",
      "py.iplot(fig, filename='iss-histogram-old')"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "html": [
        "<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\"seamless=\"seamless\" src=\"https://plot.ly/~PythonAPI/163\" height=\"525\" width=\"100%\"></iframe>"
       ],
       "metadata": {},
       "output_type": "display_data",
       "text": [
        "<IPython.core.display.HTML at 0x107281350>"
       ]
      }
     ],
     "prompt_number": 9
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [],
     "language": "python",
     "metadata": {},
     "outputs": []
    }
   ],
   "metadata": {}
  }
 ]
}
{'fraction_non_alphanumeric': 0.23879363767816567, 'fraction_numerical': 0.04875025821111341, 'mean_word_length': 2.311901504787962, 'pattern_counts': {'":': 83, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4861980', 'n_tokens_mistral': 1991, 'n_tokens_neox': 1845, 'n_words': 293}