Comments (1)
It largely stems from PEP 8, the Python style guide. Have a read through, there are some useful principles in there.
In terms of line length I try to limit my code to 78 or 79 characters per line though I will go a few characters over if breaking the line leaves only a couple of characters on the following line. If a line cannot be easily broken I will leave it long, eg a long equation may need numerous brackets to allow it to be split over multiple lines, adding these brackets may make it hard to read so I tolerate the long line.
Bottom line I guess is it's not a hard and fast rule but I tend to follow a few principles. And my editor (Notepad++) has a nice blue vertical line at 79 characters as a guide :)
from weewx-polarwindplot.
Related Issues (20)
- Spiral : Ring labels do not reverse when centre=newest
- Number of rings is still hard coded as 5 in numerous places HOT 1
- Rose : does not show a percentage ring label for inner ring HOT 1
- windrose_plot_petal_width does not exist should be petal_width HOT 2
- These dictionary items do not have defaults HOT 1
- timestamp_location parsing should be case insensitive
- TestSkin : image_background_image seems to clip the image size to the background size HOT 2
- Rose : should we be able to configure the number of petals HOT 8
- Spiral/Scatter/Trail marker_type = Does not function HOT 1
- Some text chopped off left hand side HOT 1
- polar_rings : unable to set this to other values without breaking things HOT 2
- Scatter line_style = plots curves rather than no lines
- Spiral/Scatter/Trail add line_width option
- Trail : first radial segment from origin always looks wrong
- Should I be able to put these in here in the skin.conf
- Setting legend=False in rose/trail/spiral throws error HOT 3
- Errors with python 3 HOT 34
- Division by zero error - Trail plot HOT 1
- No releases? HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weewx-polarwindplot.