• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dsten / datascience
75%
master: 74%

Build:
Build:
LAST BUILD BRANCH: readthedocs
DEFAULT BRANCH: master
Repo Added 03 Aug 2015 06:54PM UTC
Files 5
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix-plot-ticks
branch: fix-plot-ticks
CHANGE BRANCH
x
Reset
  • fix-plot-ticks
  • 0.3.dev22
  • add-table-except
  • better-deploy-docs
  • boxplot
  • cholera
  • configs
  • counts
  • create-empty-table
  • docs
  • eric/docs
  • fix-currency-formatter
  • fix-maps
  • fix-table-doctests
  • fix-travis-sphinx
  • fix-tutorial-typos
  • geoJSONdata
  • get-set-item
  • gitignore-docs
  • hist-label-correction
  • hist-overlay
  • hist2table
  • mapbug
  • master
  • modify-visualize-params
  • more-docs
  • new-row-representation
  • one-row-table
  • readthedocs
  • regions
  • requirements-travis
  • revert-73-gitignore-docs
  • sam-tutorial
  • scatter-docs
  • scatter-label-fix
  • some-more-docs
  • split
  • take-docs
  • to-csv
  • travis-docs
  • v0.3.dev22
  • zenhub-usage

pending completion
348

push

travis-ci

SamLau95
Fix bug in xticks for Table.plot()

Before, calling

    Table([np.arange(0, 10, .1), np.arange(0, 1, .01)], ['x', 'y']).plot('x')

Would show xticks of 0, 0.1, 0.2, etc. instead of 0, 2, 4, ...
This was beacuse we assumed that the horizontal axis values as passed in
the `ticks` variable were integers. Instead, we should just ask the axis
for the ticks it used to plot the data.

To test:

```python

a = Table([np.arange(0, 10, .1), np.arange(0, 1, .01)], ['x', 'y'])
a.plot('x')

b = Table([np.arange(0, 20, .1), np.arange(0, 2, .01)], ['x', 'y'])
b.plot('x')

792 of 1054 relevant lines covered (75.14%)

0.75 hits per line

Relevant lines Covered
Build:
Build:
1054 RELEVANT LINES 792 COVERED LINES
0.75 HITS PER LINE
Source Files on fix-plot-ticks
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
348 fix-plot-ticks Fix bug in xticks for Table.plot() Before, calling Table([np.arange(0, 10, .1), np.arange(0, 1, .01)], ['x', 'y']).plot('x') Would show xticks of 0, 0.1, 0.2, etc. instead of 0, 2, 4, ... This was beacuse we assumed that the horizontal axis... push 28 Oct 2015 01:09AM UTC SamLau95 travis-ci pending completion  
347 fix-plot-ticks Fix bug in xticks for Table.plot() Before, calling Table([np.arange(0, 10, .1), np.arange(0, 1, .01)], ['x', 'y']).plot('x') Would show xticks of 0, 0.1, 0.2, etc. instead of 0, 2, 4, ... This was beacuse we assumed that the horizontal axis... push 28 Oct 2015 01:05AM UTC SamLau95 travis-ci pending completion  
See All Builds (287)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc